Kevin676 commited on
Commit
d37479b
1 Parent(s): 66dd6ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,6 +1,9 @@
1
  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"
 
1
  import gradio as gr
2
  import os
3
 
4
+ os.system('pip install paddlespeech')
5
+ os.system('pip install paddlepaddle')
6
+
7
  def inference(text):
8
  os.system("paddlespeech tts --input '"+text+"' --output output.wav")
9
  return "output.wav"