Skip to content

Commit

Permalink
Fix typos in comfyui / a1111 examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhang authored Mar 27, 2024
1 parent a1e55ed commit 72a2d97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 06_gpu_and_ml/comfyui/comfy_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def download_plugins():
gpu="any",
# Allows 100 concurrent requests per container.
allow_concurrent_inputs=100,
# Restrict to 1 container because we want to our ComfyUI session state
# Restrict to 1 container because we want our ComfyUI session state
# to be on a single container.
concurrency_limit=1,
keep_warm=1,
Expand Down
7 changes: 3 additions & 4 deletions 06_gpu_and_ml/stable_diffusion/a1111_webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,10 @@
timeout=3600,
# Allows 100 concurrent requests per container.
allow_concurrent_inputs=100,
# Restrict ourselves to run on a single container because we want to our ComfyUI session state
# to stay consistent, which means keeping all the work on the same machine.
concurrency_limit=1,
# Keep at least one instance of the server running.
keep_warm=1,
)
@web_server(port=PORT, startup_timeout=0)
@web_server(port=PORT, startup_timeout=180)
def run():
START_COMMAND = f"""
cd /webui && \
Expand Down

0 comments on commit 72a2d97

Please sign in to comment.