2022-12-24 10:59:49 +01:00
|
|
|
from easydiffusion import model_manager, app, server
|
2023-07-08 19:58:47 +02:00
|
|
|
from easydiffusion.server import server_api # required for uvicorn
|
2022-12-24 10:59:49 +01:00
|
|
|
|
2023-07-10 05:31:48 +02:00
|
|
|
server.init()
|
|
|
|
|
2022-12-24 10:59:49 +01:00
|
|
|
# Init the app
|
|
|
|
model_manager.init()
|
|
|
|
app.init()
|
2023-07-10 05:31:48 +02:00
|
|
|
app.init_render_threads()
|
2022-12-24 10:59:49 +01:00
|
|
|
|
|
|
|
# start the browser ui
|
|
|
|
app.open_browser()
|