eswardivi commited on
Commit
a3bcfb7
1 Parent(s): d96f423

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def synthesize(text, speed, progress=gr.Progress()):
15
  }
16
  speakers=['EN-US','EN-Default']
17
  bio = io.BytesIO()
18
- models[language].tts_to_file(text, models['EN'].hps.data.spk2id[speakers[0]], bio, speed=speed, pbar=progress.tqdm, format='wav')
19
  return bio.getvalue()
20
 
21
 
 
15
  }
16
  speakers=['EN-US','EN-Default']
17
  bio = io.BytesIO()
18
+ models['EN'].tts_to_file(text, models['EN'].hps.data.spk2id[speakers[0]], bio, speed=speed, pbar=progress.tqdm, format='wav')
19
  return bio.getvalue()
20
 
21