From 526074aef2ac3a86a5bad71de1db303ee0b7f47e Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Thu, 23 Jul 2026 16:02:32 +0200 Subject: [PATCH] Fix string interpolation --- cloud/Dockerfile | 1 - cloud/app.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud/Dockerfile b/cloud/Dockerfile index a124145..9778aa0 100644 --- a/cloud/Dockerfile +++ b/cloud/Dockerfile @@ -1,4 +1,3 @@ -# Use a lightweight Python 3.11 image FROM python:3.11-slim # Set the working directory inside the container diff --git a/cloud/app.py b/cloud/app.py index 8fd9da3..9afaa23 100644 --- a/cloud/app.py +++ b/cloud/app.py @@ -30,7 +30,8 @@ os.makedirs(CAMERA_IMAGE_DIR, exist_ok=True) @app.route("/") def hello_world(): - return f"

{generate(prompt='Say \"Hello, World!\"')}

" + gen = generate(prompt="Say \"Hello, World!\"") + return f"

{gen}

" @app.route("/cooking-params", methods=["POST"])