vsrinivas commited on
Commit
e3601a3
1 Parent(s): 46b00b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def extract_yt_audio(it, video_url, video_file):
32
  response = requests.get(video_url)
33
  video_data = BytesIO(response.content)
34
  sample = AudioSegment.from_file(video_data, format="mp4")
35
- elif it == 'URL'
36
  sample = AudioSegment.from_file(video_url)
37
  else:
38
  sample = AudioSegment.from_file(video_file)
 
32
  response = requests.get(video_url)
33
  video_data = BytesIO(response.content)
34
  sample = AudioSegment.from_file(video_data, format="mp4")
35
+ elif it == 'URL':
36
  sample = AudioSegment.from_file(video_url)
37
  else:
38
  sample = AudioSegment.from_file(video_file)