Spaces:
Build error
Build error
Commit
·
9119926
1
Parent(s):
1abd8a4
Update app.py
Browse files
app.py
CHANGED
@@ -127,7 +127,7 @@ def greet(character,your_voice,message,history):
|
|
127 |
|
128 |
|
129 |
response = get_chat_response(character,history=history["message_history"],input_txt=message)
|
130 |
-
os.system('tts --text "'+response+'" --model_name tts_models/multilingual/multi-dataset/your_tts --speaker_wav '+
|
131 |
|
132 |
history["message_history"].append((message, response))
|
133 |
|
|
|
127 |
|
128 |
|
129 |
response = get_chat_response(character,history=history["message_history"],input_txt=message)
|
130 |
+
os.system('tts --text "'+response+'" --model_name tts_models/multilingual/multi-dataset/your_tts --speaker_wav '+your_voice+' --language_idx "en"')
|
131 |
|
132 |
history["message_history"].append((message, response))
|
133 |
|