2023-08-17 08:03:05 +02:00
|
|
|
from easydiffusion import model_manager, app, server, bucket_manager
|
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-08-03 17:31:21 +02:00
|
|
|
app.init()
|
|
|
|
|
2023-07-10 05:31:48 +02:00
|
|
|
server.init()
|
|
|
|
|
2022-12-24 10:59:49 +01:00
|
|
|
# Init the app
|
|
|
|
model_manager.init()
|
2023-07-10 05:31:48 +02:00
|
|
|
app.init_render_threads()
|
2023-08-17 08:03:05 +02:00
|
|
|
bucket_manager.init()
|
2022-12-24 10:59:49 +01:00
|
|
|
|
|
|
|
# start the browser ui
|
|
|
|
app.open_browser()
|