From 0ba63501fa65a9244adc487ef6126030316d38c5 Mon Sep 17 00:00:00 2001 From: Charles Frye Date: Tue, 3 Dec 2024 23:49:58 -0800 Subject: [PATCH] proprely deploy comfy example, test in new environment (#1010) --- 06_gpu_and_ml/comfyui/comfyapp.py | 1 + 06_gpu_and_ml/comfyui/comfyclient.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/06_gpu_and_ml/comfyui/comfyapp.py b/06_gpu_and_ml/comfyui/comfyapp.py index 999c17bfa..9455debe8 100644 --- a/06_gpu_and_ml/comfyui/comfyapp.py +++ b/06_gpu_and_ml/comfyui/comfyapp.py @@ -1,4 +1,5 @@ # --- +# deploy: true # cmd: ["modal", "serve", "06_gpu_and_ml/comfyui/comfyapp.py"] # --- # diff --git a/06_gpu_and_ml/comfyui/comfyclient.py b/06_gpu_and_ml/comfyui/comfyclient.py index 4e3d07d45..4ee300143 100644 --- a/06_gpu_and_ml/comfyui/comfyclient.py +++ b/06_gpu_and_ml/comfyui/comfyclient.py @@ -1,5 +1,5 @@ # --- -# cmd: ["python", "06_gpu_and_ml/comfyui/comfyclient.py", "--modal-workspace", "modal-labs", "--prompt", "Spider-Man visits Yosemite, rendered by Blender, trending on artstation"] +# cmd: ["python", "06_gpu_and_ml/comfyui/comfyclient.py", "--modal-workspace", "modal-labs-examples", "--prompt", "Spider-Man visits Yosemite, rendered by Blender, trending on artstation"] # output-directory: "/tmp/comfyui" # ---