From eb8c29f90a5f0f35d9f61554b9c46c7b3d454475 Mon Sep 17 00:00:00 2001 From: "fuder.eth" <139509124+vtjl10@users.noreply.github.com> Date: Fri, 13 Jun 2025 20:55:25 +0300 Subject: [PATCH] Minor Documentation Updates: Clarified Comments in Python and Go Files (#5641) * Update ui.go Signed-off-by: fuder.eth <139509124+vtjl10@users.noreply.github.com> * Update backend.py Signed-off-by: fuder.eth <139509124+vtjl10@users.noreply.github.com> --------- Signed-off-by: fuder.eth <139509124+vtjl10@users.noreply.github.com> --- backend/python/coqui/backend.py | 2 +- core/http/routes/ui.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/python/coqui/backend.py b/backend/python/coqui/backend.py index b602f4de..f940f8e0 100644 --- a/backend/python/coqui/backend.py +++ b/backend/python/coqui/backend.py @@ -66,7 +66,7 @@ class BackendServicer(backend_pb2_grpc.BackendServicer): def TTS(self, request, context): try: - # if model is multilangual add language from request or env as fallback + # if model is multilingual add language from request or env as fallback lang = request.language or COQUI_LANGUAGE if lang == "": lang = None diff --git a/core/http/routes/ui.go b/core/http/routes/ui.go index 7cfb1aa0..acbad0b6 100644 --- a/core/http/routes/ui.go +++ b/core/http/routes/ui.go @@ -69,7 +69,7 @@ func RegisterUIRoutes(app *fiber.App, var processingModels = NewModelOpCache() // modelStatus returns the current status of the models being processed (installation or deletion) - // it is called asynchonously from the UI + // it is called asynchronously from the UI modelStatus := func() (map[string]string, map[string]string) { processingModelsData := processingModels.Map()