coraKong commited on
Commit
1e7525f
1 Parent(s): 28bf734

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: