Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
7eb2463
1
Parent(s):
a1e19e1
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,9 +2,9 @@ import gradio as gr
|
|
| 2 |
import os
|
| 3 |
import shlex
|
| 4 |
|
| 5 |
-
os.system('wget https://www.dropbox.com/s/luro5o8kjotkn70/pretrained.pt
|
| 6 |
-
os.system('wget https://www.dropbox.com/s/dv0ymnlqillecfw/pretrained.pt
|
| 7 |
-
os.system('wget https://www.dropbox.com/s/aiym2qfv7087bsc/pretrained.pt
|
| 8 |
|
| 9 |
def inference(audio, text):
|
| 10 |
os.system("python demo_cli.py --audio_path "+audio.name+" --text "+shlex.quote(text.strip()))
|
|
|
|
| 2 |
import os
|
| 3 |
import shlex
|
| 4 |
|
| 5 |
+
os.system('wget https://www.dropbox.com/s/luro5o8kjotkn70/pretrained.pt')
|
| 6 |
+
os.system('wget https://www.dropbox.com/s/dv0ymnlqillecfw/pretrained.pt')
|
| 7 |
+
os.system('wget https://www.dropbox.com/s/aiym2qfv7087bsc/pretrained.pt')
|
| 8 |
|
| 9 |
def inference(audio, text):
|
| 10 |
os.system("python demo_cli.py --audio_path "+audio.name+" --text "+shlex.quote(text.strip()))
|