mirror of
https://github.com/karl0ss/ai_image_frame_server.git
synced 2025-10-24 20:24:07 +01:00
Compare commits
2 Commits
086695d898
...
948cf0e253
| Author | SHA1 | Date | |
|---|---|---|---|
| 948cf0e253 | |||
| d0ce0d6cd8 |
@ -1,5 +1,5 @@
|
|||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "0.3.12"
|
current_version = "0.3.13"
|
||||||
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
||||||
serialize = ["{major}.{minor}.{patch}"]
|
serialize = ["{major}.{minor}.{patch}"]
|
||||||
replace = "{new_version}"
|
replace = "{new_version}"
|
||||||
|
|||||||
@ -4,7 +4,7 @@ FROM python:3.11-slim
|
|||||||
# Set the working directory in the container
|
# Set the working directory in the container
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
# Set version label
|
# Set version label
|
||||||
ARG VERSION="0.3.12"
|
ARG VERSION="0.3.13"
|
||||||
LABEL version=$VERSION
|
LABEL version=$VERSION
|
||||||
|
|
||||||
# Copy project files into the container
|
# Copy project files into the container
|
||||||
|
|||||||
@ -48,7 +48,7 @@ def scheduled_task():
|
|||||||
print(f"Executing scheduled task at {time.strftime('%Y-%m-%d %H:%M:%S')}")
|
print(f"Executing scheduled task at {time.strftime('%Y-%m-%d %H:%M:%S')}")
|
||||||
# Generate a random prompt using either OpenWebUI or OpenRouter
|
# Generate a random prompt using either OpenWebUI or OpenRouter
|
||||||
from libs.generic import create_prompt_with_random_model
|
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:
|
if prompt:
|
||||||
# Select a random model
|
# Select a random model
|
||||||
import random
|
import random
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user