Revert the speed up from starting the browser early. Not sure why the fastapi server isn't ready to serve static html by this point, will need to investigate later

This commit is contained in:
cmdr2
2023-07-10 09:01:48 +05:30
parent 6dfabb692d
commit e43bf2b93a
2 changed files with 17 additions and 17 deletions

View File

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