Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
a216f79
1
Parent(s):
e7ff5ea
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import sys
|
| 2 |
sys.path.append('.')
|
| 3 |
import gradio as gr
|
| 4 |
-
import os
|
| 5 |
os.system('pip install -U torchtext==0.8.0')
|
| 6 |
-
os.system('pip install gradio --upgrade')
|
| 7 |
os.system('./separate_scripts/download_checkpoints.sh')
|
| 8 |
|
| 9 |
def inference(audio):
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
os.system('pip install gradio --upgrade')
|
| 3 |
+
os.system('pip freeze')
|
| 4 |
import sys
|
| 5 |
sys.path.append('.')
|
| 6 |
import gradio as gr
|
|
|
|
| 7 |
os.system('pip install -U torchtext==0.8.0')
|
|
|
|
| 8 |
os.system('./separate_scripts/download_checkpoints.sh')
|
| 9 |
|
| 10 |
def inference(audio):
|