SeyedAli commited on
Commit
7ea6bf6
β€’
1 Parent(s): 16803e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,5 +14,5 @@ def TTS(text):
14
  with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
15
  scipy.io.wavfile.write(fp, rate=pipe(text)['sampling_rate'], data=pipe(text)['audio'])
16
  return fp.name
17
- iface = gr.Interface(fn=TTS, inputs="text", outputs="text")
18
  iface.launch(share=False)
 
14
  with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
15
  scipy.io.wavfile.write(fp, rate=pipe(text)['sampling_rate'], data=pipe(text)['audio'])
16
  return fp.name
17
+ iface = gr.Interface(fn=TTS, inputs="text", outputs="audio")
18
  iface.launch(share=False)