barto17 commited on
Commit
16e5264
1 Parent(s): 9a2a1d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def transcribe(Microphone, File_Upload, URL):
77
 
78
  elif URL:
79
  link = YouTube(URL)
80
- source = link.streams.filter(only_audio=True)[0].download(filename="audio.mp4")
81
  else:
82
  file = File_Upload
83
 
 
77
 
78
  elif URL:
79
  link = YouTube(URL)
80
+ source = link.streams.filter(only_audio=True)[0].download(filename="audio.mp3")
81
  else:
82
  file = File_Upload
83