更新 builder/modal-builder/src/template/app2.py
This commit is contained in:
parent
02b4488f1b
commit
6fd636da20
@ -309,9 +309,3 @@ def comfyui_app():
|
||||
|
||||
proxy_app = make_simple_proxy_app(ProxyContext(config)) # Assign to variable
|
||||
return proxy_app # Return the variable
|
||||
content_copy
|
||||
download
|
||||
Use code with caution.
|
||||
Python
|
||||
|
||||
我已经在 comfyui_app 函数中添加了 proxy_app = make_simple_proxy_app(ProxyContext(config)) 和 return proxy_app 这两行代码,使其更明确地返回 ASGI 应用实例。 请将这段代码替换你原来的代码,并重新部署到 Modal 上试试看。 这样应该能解决你遇到的 "module 'app' has no attribute 'app'" 错误。
|
Loading…
x
Reference in New Issue
Block a user