llm节点支持链接分析

This commit is contained in:
yp
2025-09-07 11:55:09 +08:00
parent 4131ce2a94
commit aeec2f1939
8 changed files with 146 additions and 105 deletions

View File

@@ -17,7 +17,7 @@ image = (
.apt_install("git", "gcc", "libportaudio2", "ffmpeg")
.pip_install("comfy_cli")
.run_commands(
"comfy --skip-prompt install --fast-deps --nvidia --version 0.3.40"
"comfy --skip-prompt install --fast-deps --nvidia --version 0.3.55"
)
.pip_install_from_pyproject(os.path.join(os.path.dirname(__file__), "pyproject.toml"))
.run_commands("comfy node install https://github.com/yolain/ComfyUI-Easy-Use.git")
@@ -75,37 +75,3 @@ def ui_1():
@modal.web_server(8000, startup_timeout=120)
def ui_2():
subprocess.Popen("comfy launch -- --cpu --listen 0.0.0.0 --port 8000", shell=True)
# @app.function(
# min_containers=0,
# buffer_containers=0,
# max_containers=1,
# scaledown_window=600,
# secrets=[custom_secret],
# volumes={
# "/models": vol
# }
# )
# @modal.concurrent(
# max_inputs=10
# )
# @modal.web_server(8000, startup_timeout=120)
# def ui_3():
# subprocess.Popen("comfy launch -- --cpu --listen 0.0.0.0 --port 8000", shell=True)
#
# @app.function(
# min_containers=0,
# buffer_containers=0,
# max_containers=1,
# scaledown_window=600,
# secrets=[custom_secret],
# volumes={
# "/models": vol
# }
# )
# @modal.concurrent(
# max_inputs=10
# )
# @modal.web_server(8000, startup_timeout=120)
# def ui_4():
# subprocess.Popen("comfy launch -- --cpu --listen 0.0.0.0 --port 8000", shell=True)