[Bugfix] Expose base_model_paths property in _DiffusionServingModels (#1771)

Signed-off-by: Lancer <maruixiang6688@gmail.com>
This commit is contained in:
Lancer authored and GitHub committed 2026-03-11 20:52:10 +08:00
1 parent af9784c03f
commit 0f7c9c755d
1 file changed
+4
@@ -178,6 +178,10 @@ class _DiffusionServingModels:
def __init__(self, base_model_paths: list[BaseModelPath]) -> None:
self._base_model_paths = base_model_paths
@property
def base_model_paths(self) -> list[BaseModelPath]:
return self._base_model_paths
async def show_available_models(self) -> ModelList:
return ModelList(
data=[