fix: dev2

This commit is contained in:
Timothy J. Baek committed 2024-09-24 16:19:24 +02:00
1 parent ff651ddc36
commit 3cee507687
4 files changed
+10 -5

No files matched your search

+2 -1
View File
@@ -52,9 +52,10 @@ def serve(
)
os.environ["USE_CUDA_DOCKER"] = "false"
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()