Spaces:
Running
on
T4
Running
on
T4
gabrielchua
commited on
Commit
•
67bd675
1
Parent(s):
a585cd8
fix SUNO
Browse files
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_MAPPING[
|
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]
|