Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
8235d54
1
Parent(s):
c3dff88
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,8 @@ import gradio as gr
|
|
2 |
import os
|
3 |
|
4 |
def inference(audio, text):
|
|
|
|
|
5 |
os.system('python demo_cli.py -audio '+audio.name+' --text '+text.strip())
|
6 |
return 'demo_output_1.wav'
|
7 |
|
|
|
2 |
import os
|
3 |
|
4 |
def inference(audio, text):
|
5 |
+
print(text)
|
6 |
+
print(text.strip())
|
7 |
os.system('python demo_cli.py -audio '+audio.name+' --text '+text.strip())
|
8 |
return 'demo_output_1.wav'
|
9 |
|