diff --git a/core/http/routes/ui.go b/core/http/routes/ui.go index 8cbb4b28..efd08315 100644 --- a/core/http/routes/ui.go +++ b/core/http/routes/ui.go @@ -85,6 +85,7 @@ func RegisterUIRoutes(app *fiber.App, "Repositories": appConfig.Galleries, "AllTags": tags, "ProcessingModels": processingModelsData, + "AvailableModels": len(models), "TaskTypes": taskTypes, // "ApplicationConfig": appConfig, } diff --git a/core/http/views/models.html b/core/http/views/models.html index 44e16ef2..189e0356 100644 --- a/core/http/views/models.html +++ b/core/http/views/models.html @@ -10,7 +10,7 @@

- 🖼️ Available models from {{ len .Repositories }} repositories + 🖼️ Available {{.AvailableModels}} models from {{ len .Repositories }} repositories