Spaces:
Runtime error
Runtime error
John Langley
commited on
Commit
•
daa8ad8
1
Parent(s):
eaad3e8
change to cpu
Browse files
utils.py
CHANGED
@@ -82,7 +82,7 @@ def detect_language(prompt, xtts_supported_languages=None):
|
|
82 |
|
83 |
return language
|
84 |
|
85 |
-
def get_voice_streaming(
|
86 |
|
87 |
speaker = {
|
88 |
"speaker_embedding": xtts_model.speaker_manager.speakers["Claribel Dervla"][
|
|
|
82 |
|
83 |
return language
|
84 |
|
85 |
+
def get_voice_streaming(prompt, language, chatbot_voice, xtts_model, suffix="0"):
|
86 |
|
87 |
speaker = {
|
88 |
"speaker_embedding": xtts_model.speaker_manager.speakers["Claribel Dervla"][
|