Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def text_to_speech(text: str, speaker_wav, speaker_wav_file, language: str):
|
|
22 |
# de_tts.tts_to_file(text, speaker_wav=speaker_wav, file_path=file_path)
|
23 |
# else:
|
24 |
de_tts.tts_to_file(text, file_path=file_path)
|
25 |
-
elif language == "es":
|
26 |
# if speaker_wav is not None:
|
27 |
# es_tts.tts_to_file(text, speaker_wav=speaker_wav, file_path=file_path)
|
28 |
# else:
|
|
|
22 |
# de_tts.tts_to_file(text, speaker_wav=speaker_wav, file_path=file_path)
|
23 |
# else:
|
24 |
de_tts.tts_to_file(text, file_path=file_path)
|
25 |
+
# elif language == "es":
|
26 |
# if speaker_wav is not None:
|
27 |
# es_tts.tts_to_file(text, speaker_wav=speaker_wav, file_path=file_path)
|
28 |
# else:
|