Ahsen Khaliq commited on
Commit
a580afe
1 Parent(s): 2c99c70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import os
3
 
4
  def inference(text):
5
- os.system("paddlespeech tts --input "+text+" --output output.wav")
6
  return "output.wav"
7
 
8
  title = "ESPnet2-TTS"
 
2
  import os
3
 
4
  def inference(text):
5
+ os.system("paddlespeech tts --input '"+text+"' --output output.wav")
6
  return "output.wav"
7
 
8
  title = "ESPnet2-TTS"