gabrielchua commited on
Commit
a585cd8
1 Parent(s): 7c1ccb2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -164,7 +164,7 @@ def generate_podcast(
164
  transcript += speaker + "\n\n"
165
  total_characters += len(line.text)
166
 
167
- language_for_tts = language
168
 
169
  if not use_advanced_audio:
170
  language_for_tts = MELO_TTS_LANGUAGE_MAPPING[language_for_tts]
 
164
  transcript += speaker + "\n\n"
165
  total_characters += len(line.text)
166
 
167
+ language_for_tts = LANGUAGE_MAPPING['language']
168
 
169
  if not use_advanced_audio:
170
  language_for_tts = MELO_TTS_LANGUAGE_MAPPING[language_for_tts]