vsrinivas commited on
Commit
f1fddc9
1 Parent(s): 72d5ac5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def extract_yt_audio(video_url):
21
  """
22
 
23
  if "youtube.com" in video_url or "youtu.be" in video_url:
24
- yt = YouTube(video_url, use_po_token=True)
25
  a = yt.streams.filter(only_audio=True).first()
26
  audio_file = a.download()
27
  sample = AudioSegment.from_file(audio_file)
 
21
  """
22
 
23
  if "youtube.com" in video_url or "youtu.be" in video_url:
24
+ yt = YouTube(video_url, use_po_token=False)
25
  a = yt.streams.filter(only_audio=True).first()
26
  audio_file = a.download()
27
  sample = AudioSegment.from_file(audio_file)