Spaces:
Runtime error
Runtime error
Update backend/tts.py
Browse files- backend/tts.py +1 -1
backend/tts.py
CHANGED
|
@@ -12,7 +12,7 @@ try:
|
|
| 12 |
language_code = "-".join(voice_name.split("-")[:2])
|
| 13 |
streaming_config = tts.StreamingSynthesizeConfig(
|
| 14 |
voice=tts.VoiceSelectionParams(language_code=language_code, name=voice_name),
|
| 15 |
-
streaming_audio_config = tts.StreamingAudioConfig(speaking_rate = 1.
|
| 16 |
|
| 17 |
)
|
| 18 |
print("Google TTS Client initialized.")
|
|
|
|
| 12 |
language_code = "-".join(voice_name.split("-")[:2])
|
| 13 |
streaming_config = tts.StreamingSynthesizeConfig(
|
| 14 |
voice=tts.VoiceSelectionParams(language_code=language_code, name=voice_name),
|
| 15 |
+
streaming_audio_config = tts.StreamingAudioConfig(speaking_rate = 1.10)
|
| 16 |
|
| 17 |
)
|
| 18 |
print("Google TTS Client initialized.")
|