This commit is contained in:
2026-05-14 18:37:18 +08:00
parent 5e6d8046e1
commit 7a2ffc91a2
15 changed files with 200 additions and 56 deletions
+6
View File
@@ -85,6 +85,12 @@ def get_sdxl_base_model_from_app(app_cfg: AppConfig | None = None) -> str:
return app_cfg.inpaint.sdxl_base_model
def get_flux_fill_model_from_app(app_cfg: AppConfig | None = None) -> str:
if app_cfg is None:
app_cfg = load_app_config()
return app_cfg.inpaint.flux_fill_model
def get_controlnet_base_model_from_app(app_cfg: AppConfig | None = None) -> str:
if app_cfg is None:
app_cfg = load_app_config()