Update app.py
Browse files
app.py
CHANGED
@@ -86,11 +86,8 @@ def download_spotify_track(track_id: str):
|
|
86 |
not_interface=False,
|
87 |
method_save=1
|
88 |
)
|
89 |
-
|
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
|