Fix regression with new installations not being able to start ED

This commit is contained in:
cmdr2 2023-08-03 21:01:21 +05:30
parent df518f822c
commit 3216a68d63

View File

@ -1,11 +1,12 @@
from easydiffusion import model_manager, app, server from easydiffusion import model_manager, app, server
from easydiffusion.server import server_api # required for uvicorn from easydiffusion.server import server_api # required for uvicorn
app.init()
server.init() server.init()
# Init the app # Init the app
model_manager.init() model_manager.init()
app.init()
app.init_render_threads() app.init_render_threads()
# start the browser ui # start the browser ui