mirror of
https://github.com/karl0ss/ai_image_frame_server.git
synced 2025-10-03 08:00:05 +01:00
fix(server): add empty string parameter to create_prompt_with_random_model call
This commit is contained in:
parent
086695d898
commit
d0ce0d6cd8
@ -48,7 +48,7 @@ def scheduled_task():
|
||||
print(f"Executing scheduled task at {time.strftime('%Y-%m-%d %H:%M:%S')}")
|
||||
# Generate a random prompt using either OpenWebUI or OpenRouter
|
||||
from libs.generic import create_prompt_with_random_model
|
||||
prompt = create_prompt_with_random_model("Generate a random detailed prompt for stable diffusion.")
|
||||
prompt = create_prompt_with_random_model("Generate a random detailed prompt for stable diffusion.", "")
|
||||
if prompt:
|
||||
# Select a random model
|
||||
import random
|
||||
|
Loading…
x
Reference in New Issue
Block a user