修改图片生成节点
This commit is contained in:
@@ -58,7 +58,8 @@ vol = modal.Volume.from_name("comfy_model", environment_name="dev", create_if_mi
|
||||
)
|
||||
@modal.web_server(8000, startup_timeout=120)
|
||||
def ui_1():
|
||||
subprocess.Popen("comfy launch -- --cpu --listen 0.0.0.0 --port 8000", shell=True)
|
||||
process = subprocess.Popen("comfy launch -- --cpu --listen 0.0.0.0 --port 8000", shell=True)
|
||||
process.wait()
|
||||
|
||||
|
||||
@app.function(
|
||||
|
||||
Reference in New Issue
Block a user