Update app.py
Browse files
app.py
CHANGED
@@ -85,6 +85,7 @@ async def download_spotify_track(
|
|
85 |
background_tasks: BackgroundTasks
|
86 |
):
|
87 |
try:
|
|
|
88 |
downloads_dir = Path("downloads")
|
89 |
# Create unique directory for this download
|
90 |
download_id = uuid.uuid4().hex
|
|
|
85 |
background_tasks: BackgroundTasks
|
86 |
):
|
87 |
try:
|
88 |
+
spo = SpoLogin(credentials_path=CREDENTIALS_PATH)
|
89 |
downloads_dir = Path("downloads")
|
90 |
# Create unique directory for this download
|
91 |
download_id = uuid.uuid4().hex
|