Update app.py
Browse files
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)
|