Spaces:
Sleeping
Sleeping
File size: 404 Bytes
760fae4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import os
import os.path as op
from pathlib import Path
from dotenv import load_dotenv
BASE_DIR_PATH = Path(op.dirname(Path(__file__).resolve()))
load_dotenv(BASE_DIR_PATH / ".env")
# QDrant
QDRANT_KEY = os.environ.get('QDRANT_KEY')
QDRANT_URL = os.environ.get('QDRANT_URL')
QDRANT_COLLECTION_NAME = 'music_db'
# Environment
ENVIRONMENT = "PROD" if os.environ.get('USERNAME') == "arthur" else "PROD"
|