berkaygkv54's picture
first push
19759e2
raw
history blame contribute delete
444 Bytes
from pathlib import Path
from dataclasses import dataclass
from os import getenv
@dataclass
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")
@dataclass
class Credentials:
SPOTIFY_CLIENT_ID: str = getenv("SPOTIFY_CLIENT_ID")
SPOTIFY_SECRET_ID: str = getenv("SPOTIFY_SECRET_ID")