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"])