tecuts commited on
Commit
41b55ea
·
verified ·
1 Parent(s): 1252cb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,7 +78,7 @@ def cleanup_dir(dir_path: Path):
78
  except Exception as e:
79
  logger.error(f"Error cleaning up {dir_path}: {e}")
80
 
81
-
82
  spo = SpoLogin(credentials_path=CREDENTIALS_PATH)
83
  # Download a Spotify track and return a download URL
84
  @app.post("/spot-track/{track_id}")
@@ -120,7 +120,7 @@ async def download_spotify_track(
120
  except Exception as e:
121
  logger.error(f"Error downloading track: {e}")
122
  raise HTTPException(status_code=500, detail=str(e))
123
-
124
 
125
 
126
  @app.get("/")
 
78
  except Exception as e:
79
  logger.error(f"Error cleaning up {dir_path}: {e}")
80
 
81
+ '''
82
  spo = SpoLogin(credentials_path=CREDENTIALS_PATH)
83
  # Download a Spotify track and return a download URL
84
  @app.post("/spot-track/{track_id}")
 
120
  except Exception as e:
121
  logger.error(f"Error downloading track: {e}")
122
  raise HTTPException(status_code=500, detail=str(e))
123
+ '''
124
 
125
 
126
  @app.get("/")