tecuts commited on
Commit
83f5abd
·
verified ·
1 Parent(s): 91ff406

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -86,11 +86,8 @@ def download_spotify_track(track_id: str):
86
  not_interface=False,
87
  method_save=1
88
  )
89
- except Exception as e:
90
- logger.error(f"Error downloading file: {e}")
91
- raise HTTPException(status_code=500, detail="File download failed")
92
 
93
- # Recursively search for audio files in the downloads directory
94
  file_extension = "ogg"
95
  # Recursively search for the file in the downloads directory
96
  filepath = None
 
86
  not_interface=False,
87
  method_save=1
88
  )
89
+
 
 
90
 
 
91
  file_extension = "ogg"
92
  # Recursively search for the file in the downloads directory
93
  filepath = None