Tonic commited on
Commit
fac0b8f
1 Parent(s): 9d5b6f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def whisper_speech_demo(text, lang, speaker_audio, mix_lang, mix_text):
24
  pipe = Pipeline()
25
  speaker_url = speaker_audio if speaker_audio is not None else None
26
 
27
- if mix_lang and mix_text:
28
  mixed_langs = mix_lang
29
  mixed_texts = mix_text.split(',')
30
  stoks = pipe.t2s.generate(mixed_texts, lang=mixed_langs)
 
24
  pipe = Pipeline()
25
  speaker_url = speaker_audio if speaker_audio is not None else None
26
 
27
+ if mix_lang and mix_text:
28
  mixed_langs = mix_lang
29
  mixed_texts = mix_text.split(',')
30
  stoks = pipe.t2s.generate(mixed_texts, lang=mixed_langs)