mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-09 23:57:42 +02:00
Improve responsiveness of UI startup by not waiting for render threads to start up before showing the UI. Errors while starting the render thread will be logged anyway, so there's no need to block the main thread for this
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
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
|
||||
|
||||
# Init the app
|
||||
model_manager.init()
|
||||
@ -8,3 +8,5 @@ server.init()
|
||||
|
||||
# start the browser ui
|
||||
app.open_browser()
|
||||
|
||||
app.init_render_threads()
|
||||
|
Reference in New Issue
Block a user