antoniomae1234
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def tts_function(voice_file, text):
|
|
32 |
|
33 |
# Run TTS
|
34 |
tts.tts_to_file(text=text, speaker_wav=speaker_wav,
|
35 |
-
language="
|
36 |
|
37 |
return file_path
|
38 |
|
|
|
32 |
|
33 |
# Run TTS
|
34 |
tts.tts_to_file(text=text, speaker_wav=speaker_wav,
|
35 |
+
language="pt", file_path=file_path)
|
36 |
|
37 |
return file_path
|
38 |
|