mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-09 15:55:01 +02:00
Refactor server.py
This commit is contained in:
10
ui/main.py
Normal file
10
ui/main.py
Normal file
@ -0,0 +1,10 @@
|
||||
from easydiffusion import model_manager, app, server
|
||||
from easydiffusion.server import server_api # required for uvicorn
|
||||
|
||||
# Init the app
|
||||
model_manager.init()
|
||||
app.init()
|
||||
server.init()
|
||||
|
||||
# start the browser ui
|
||||
app.open_browser()
|
Reference in New Issue
Block a user