Chrunos commited on
Commit
1c7a98d
·
verified ·
1 Parent(s): e832901

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ async def download_spotify_track(
103
  raise HTTPException(status_code=500, detail="File not found after download")
104
 
105
  # Schedule cleanup after response is sent
106
- background_tasks.add_task(cleanup_dir, download_dir)
107
 
108
  # Return path with unique directory
109
  relative_path = quote(str(filepath.relative_to(downloads_dir)))
 
103
  raise HTTPException(status_code=500, detail="File not found after download")
104
 
105
  # Schedule cleanup after response is sent
106
+ #background_tasks.add_task(cleanup_dir, download_dir)
107
 
108
  # Return path with unique directory
109
  relative_path = quote(str(filepath.relative_to(downloads_dir)))