Spaces:
Sleeping
Sleeping
from pathlib import Path | |
from dataclasses import dataclass | |
from os import getenv | |
class ProjectPaths: | |
ROOT: Path = Path(__file__).parents[2] | |
DATA_DIR: Path = ROOT.joinpath("data") | |
MODEL_PATH: Path = ROOT.joinpath("model_checkpoints", "music_audioset_epoch_15_esc_90.14.pt") | |
class Credentials: | |
SPOTIFY_CLIENT_ID: str = getenv("SPOTIFY_CLIENT_ID") | |
SPOTIFY_SECRET_ID: str = getenv("SPOTIFY_SECRET_ID") | |