Ziyou Li commited on
Commit
6460728
1 Parent(s): f763fa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ def transcribe(audio):
19
  return text
20
 
21
  def gen_sub(video):
22
- result = subprocess.check_output(['auto_subtitle',video,'--model', 'medium'])
23
- return text
24
 
25
  def get_text(url):
26
  result = pipe(get_audio(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):
26
  result = pipe(get_audio(url))