Fix string interpolation
Build, push image, and notify Watchtower / build-image (push) Successful in 37s
Build, push image, and notify Watchtower / notify (push) Successful in 1m4s

This commit is contained in:
2026-07-23 16:02:32 +02:00
parent 0671a37e0c
commit 526074aef2
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -1,4 +1,3 @@
# Use a lightweight Python 3.11 image
FROM python:3.11-slim FROM python:3.11-slim
# Set the working directory inside the container # Set the working directory inside the container
+2 -1
View File
@@ -30,7 +30,8 @@ os.makedirs(CAMERA_IMAGE_DIR, exist_ok=True)
@app.route("/") @app.route("/")
def hello_world(): def hello_world():
return f"<p>{generate(prompt='Say \"Hello, World!\"')}</p>" gen = generate(prompt="Say \"Hello, World!\"")
return f"<p>{gen}</p>"
@app.route("/cooking-params", methods=["POST"]) @app.route("/cooking-params", methods=["POST"])