afroanton commited on
Commit
e3548cb
1 Parent(s): 1635b6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def transcribe(audio):
11
 
12
  def transcribeUrl(url):
13
  yt = YouTube(str(url))
14
- audio = yt.streams.filter(only_audio=True).first()[0].download('yt_video')
15
  text = pipe(audio)["text"]
16
  return text
17
 
11
 
12
  def transcribeUrl(url):
13
  yt = YouTube(str(url))
14
+ audio = yt.streams.filter(only_audio=True).first().download('yt_video')
15
  text = pipe(audio)["text"]
16
  return text
17