daniel-dona commited on
Commit
526c607
·
1 Parent(s): d22959a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -3,7 +3,7 @@ from TTS.config import load_config
3
  from TTS.utils.manage import ModelManager
4
  from TTS.utils.synthesizer import Synthesizer
5
 
6
- model_path = "./model/model.pht"
7
  config_path = "./model/config.json"
8
 
9
  synthesizer = Synthesizer(
@@ -28,5 +28,5 @@ def run_tts(text):
28
  # return "Hello " + name + "!!"
29
 
30
 
31
- #iface = gr.Interface(fn=greet, inputs="text", outputs="audio")
32
- #iface.launch()
 
3
  from TTS.utils.manage import ModelManager
4
  from TTS.utils.synthesizer import Synthesizer
5
 
6
+ model_path = "./model/model.pth"
7
  config_path = "./model/config.json"
8
 
9
  synthesizer = Synthesizer(
 
28
  # return "Hello " + name + "!!"
29
 
30
 
31
+ iface = gr.Interface(fn=run_tts, inputs="text", outputs="audio")
32
+ iface.launch()