Chrunos commited on
Commit
3b118ef
·
verified ·
1 Parent(s): c0b4b77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -292,7 +292,12 @@ async def download_audio(request: Request):
292
  'quiet': True,
293
  'no_warnings': True,
294
  'noprogress': True,
295
- 'cookiefile': cookiefile
 
 
 
 
 
296
 
297
  }
298
 
 
292
  'quiet': True,
293
  'no_warnings': True,
294
  'noprogress': True,
295
+ 'cookiefile': cookiefile,
296
+ 'postprocessors': [{
297
+ 'key': 'FFmpegExtractAudio',
298
+ 'preferredcodec': 'mp3',
299
+ 'preferredquality': '192'
300
+ }]
301
 
302
  }
303