Spaces:
Runtime error
Runtime error
Commit
·
b92a36f
1
Parent(s):
9f3ac4e
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from subprocess import Popen
|
|
| 5 |
|
| 6 |
# model = AutoModelForPreTraining.from_pretrained("patrickvonplaten/mms-1b")
|
| 7 |
|
| 8 |
-
model = "
|
| 9 |
|
| 10 |
def transcribe(audio):
|
| 11 |
Popen('python mms_infer.py --model model --lang eng --audio audio')
|
|
|
|
| 5 |
|
| 6 |
# model = AutoModelForPreTraining.from_pretrained("patrickvonplaten/mms-1b")
|
| 7 |
|
| 8 |
+
model = "base_300m.pt"
|
| 9 |
|
| 10 |
def transcribe(audio):
|
| 11 |
Popen('python mms_infer.py --model model --lang eng --audio audio')
|