Update app.py
Browse files
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"
|