Spaces:
Sleeping
Sleeping
Update Voice
Browse files- chatbot.py +1 -1
chatbot.py
CHANGED
|
@@ -61,7 +61,7 @@ class CodeAssistantBot:
|
|
| 61 |
|
| 62 |
|
| 63 |
async def text_to_speech(text: str, filename: str):
|
| 64 |
-
voice = "
|
| 65 |
communicate = edge_tts.Communicate(text, voice)
|
| 66 |
await communicate.save(filename)
|
| 67 |
|
|
|
|
| 61 |
|
| 62 |
|
| 63 |
async def text_to_speech(text: str, filename: str):
|
| 64 |
+
voice = "fr-FR-VivienneMultilingualNeural"
|
| 65 |
communicate = edge_tts.Communicate(text, voice)
|
| 66 |
await communicate.save(filename)
|
| 67 |
|