mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 02:15:17 +00:00
directions on launching
This commit is contained in:
parent
826ad087a0
commit
80cd3fb13c
@ -8,6 +8,10 @@
|
||||
# If you use Comfy Manager, make sure to set the preview type there because it will override --preview-method auto/latent2rgb/taesd launch flag settings
|
||||
# Check or change the preview_method in "/custom_nodes/ComfyUI-Manager/config.ini"
|
||||
|
||||
# If you chose to install Gradio to your ComfyUI python venv, open a command prompt this script_examples directory and run:
|
||||
# ..\..\python_embeded\python.exe -s ..\script_examples\gradio_websockets_api_example.py
|
||||
# To launch the app
|
||||
|
||||
import websocket #NOTE: websocket-client (https://github.com/websocket-client/websocket-client)
|
||||
import uuid
|
||||
import json
|
||||
@ -302,4 +306,4 @@ with gr.Blocks(analytics_enabled=False, fill_width=True, fill_height=True,) as e
|
||||
|
||||
# Adjust settings to your needs https://www.gradio.app/docs/gradio/blocks#blocks-launch for more info
|
||||
example.queue(max_size=2,) # how many users can queue up in line
|
||||
example.launch(share=False, inbrowser=True, server_name="0.0.0.0", server_port=7860, enable_monitoring=False) # good for LAN-only setups
|
||||
example.launch(share=False, inbrowser=True, server_name="0.0.0.0", server_port=7860, enable_monitoring=False) # good for LAN-only setups
|
||||
|
Loading…
Reference in New Issue
Block a user