mirror of
https://github.com/mudler/LocalAI.git
synced 2026-05-05 22:46:06 -04:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user