Ahsen Khaliq commited on
Commit
84c975e
1 Parent(s): ef987de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def run_cmd(command):
12
 
13
  def inference(text):
14
  cmd = "tts --text " + text
15
- os.system(cmd)
16
  return 'tts_output.wav'
17
 
18
  inputs = gr.inputs.Textbox(lines=5, label="Input Text")
 
12
 
13
  def inference(text):
14
  cmd = "tts --text " + text
15
+ run_cmd(cmd)
16
  return 'tts_output.wav'
17
 
18
  inputs = gr.inputs.Textbox(lines=5, label="Input Text")