Spaces:
Runtime error
Runtime error
Fix app.py removing list
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def download_audio(audio_url, filename):
|
|
12 |
|
13 |
# send a HTTP request to the server and save
|
14 |
# the HTTP response in a response object called r
|
15 |
-
with open(
|
16 |
|
17 |
# Saving received content as a mp3 file in
|
18 |
# binary format
|
|
|
12 |
|
13 |
# send a HTTP request to the server and save
|
14 |
# the HTTP response in a response object called r
|
15 |
+
with open("audio/" + filename,'wb') as f:
|
16 |
|
17 |
# Saving received content as a mp3 file in
|
18 |
# binary format
|