Skip to content

Commit

Permalink
coqui: TTS.list_models() now debug prints available models
Browse files Browse the repository at this point in the history
  • Loading branch information
blob42 committed Apr 20, 2024
1 parent b815707 commit c09617a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/python/coqui/coqui_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ def LoadModel(self, request, context):
return backend_pb2.Result(success=False, message="CUDA is not available")

self.AudioPath = None

# List available 🐸TTS models
print(TTS().list_models())
print(TTS().list_models().list_models())

if os.path.isabs(request.AudioPath):
self.AudioPath = request.AudioPath
elif request.AudioPath and request.ModelFile != "" and not os.path.isabs(request.AudioPath):
Expand Down

0 comments on commit c09617a

Please sign in to comment.