cocktailpeanut commited on
Commit
372bdc9
1 Parent(s): 9790b0a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ else:
15
  languages = ["EN", "ES", "FR", "ZH", "JP", "KR"]
16
  en = ["EN-Default", "EN-US", "EN-BR", "EN_INDIA", "EN-AU"]
17
 
18
- LANG = sys.argv[1]
19
 
20
  def synthesize(speaker, text, speed=1.0, progress=gr.Progress()):
21
  model = TTS(language=LANG, device=device)
 
15
  languages = ["EN", "ES", "FR", "ZH", "JP", "KR"]
16
  en = ["EN-Default", "EN-US", "EN-BR", "EN_INDIA", "EN-AU"]
17
 
18
+ LANG = sys.argv[1].strip()
19
 
20
  def synthesize(speaker, text, speed=1.0, progress=gr.Progress()):
21
  model = TTS(language=LANG, device=device)