vic-yes commited on
Commit
f0344bb
·
1 Parent(s): 139957a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def tts(text: str):
29
  #model_dir = BASE_DIR.format("male" if voice == "Male" else "female")
30
 
31
  # synthesize
32
- synthesizer = Synthesizer(f"{Model_DIR}/model.pth", f"{model_dir}/config.json")
33
  wavs = synthesizer.tts(text)
34
 
35
  # return output
 
29
  #model_dir = BASE_DIR.format("male" if voice == "Male" else "female")
30
 
31
  # synthesize
32
+ synthesizer = Synthesizer(f"{Model_DIR}/model.pth", f"{Model_DIR}/config.json")
33
  wavs = synthesizer.tts(text)
34
 
35
  # return output