Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def transcribe(audio):
|
|
19 |
return text
|
20 |
|
21 |
def gen_sub(video):
|
22 |
-
result = subprocess.check_output(['auto_subtitle','
|
23 |
return result
|
24 |
|
25 |
def get_text(url):
|
|
|
19 |
return text
|
20 |
|
21 |
def gen_sub(video):
|
22 |
+
result = subprocess.check_output(['auto_subtitle','/example.mp4','--model', 'medium'])
|
23 |
return result
|
24 |
|
25 |
def get_text(url):
|