|
@@ -54,7 +54,7 @@ def serve(
|
|
|
os.environ["LD_LIBRARY_PATH"] = ":".join(LD_LIBRARY_PATH)
|
|
|
import open_webui.main # we need set environment variables before importing main
|
|
|
|
|
|
- uvicorn.run(open_webui.main.app, host=host, port=port, forwarded_allow_ips="*")
|
|
|
+ uvicorn.run("open_webui.main:app", host=host, port=port, forwarded_allow_ips="*")
|
|
|
|
|
|
|
|
|
@app.command()
|