diff --git a/invokeai/app/api_app.py b/invokeai/app/api_app.py index f935de542e..00afa8f7f0 100644 --- a/invokeai/app/api_app.py +++ b/invokeai/app/api_app.py @@ -126,6 +126,7 @@ app.openapi = custom_openapi # Override API doc favicons app.mount("/static", StaticFiles(directory="static/dream_web"), name="static") +app.mount("/", StaticFiles(directory="invokeai/frontend/web/dist", html=True), name="ui") @app.get("/docs", include_in_schema=False) def overridden_swagger():