Spaces:
Running
Running
File size: 359 Bytes
41979e6 |
1 2 3 4 5 6 7 8 9 10 11 |
import os
class Settings:
ASR_MODEL = os.getenv("ASR_MODEL", "openai/whisper-small")
UPLOAD_DIR = os.getenv("UPLOAD_DIR", "./data/uploads")
OUTPUT_DIR = os.getenv("OUTPUT_DIR", "./data/outputs")
SAMPLE_RATE = int(os.getenv("SAMPLE_RATE", 16000))
DIAR_MODEL = os.getenv("DIAR_MODEL", "pyannote/speaker-diarization")
settings = Settings()
|