Upload config.env.example with huggingface_hub
Browse files- config.env.example +30 -0
config.env.example
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Podcast Audio Processing Configuration
|
| 2 |
+
|
| 3 |
+
# Storage Directories
|
| 4 |
+
DOWNLOADS_DIR=./downloads
|
| 5 |
+
TRANSCRIPTS_DIR=./transcripts
|
| 6 |
+
CACHE_DIR=./cache
|
| 7 |
+
|
| 8 |
+
# Audio Download Settings
|
| 9 |
+
DOWNLOAD_QUALITY=highest
|
| 10 |
+
CONVERT_TO_MP3=true
|
| 11 |
+
|
| 12 |
+
# Transcription Settings
|
| 13 |
+
DEFAULT_MODEL_SIZE=turbo
|
| 14 |
+
DEFAULT_OUTPUT_FORMAT=srt
|
| 15 |
+
ENABLE_SPEAKER_DIARIZATION=false
|
| 16 |
+
USE_PARALLEL_PROCESSING=true
|
| 17 |
+
CHUNK_DURATION=60
|
| 18 |
+
|
| 19 |
+
# Modal Configuration (if using Modal deployment)
|
| 20 |
+
MODAL_APP_NAME=podcast-transcription
|
| 21 |
+
MODAL_GPU_TYPE=A10G
|
| 22 |
+
MODAL_MEMORY=10240
|
| 23 |
+
MODAL_CPU=4
|
| 24 |
+
|
| 25 |
+
# Hugging Face Token (required for speaker diarization)
|
| 26 |
+
# Get your token from: https://huggingface.co/settings/tokens
|
| 27 |
+
HF_TOKEN=your-huggingface-token-here
|
| 28 |
+
|
| 29 |
+
# Deployment Mode (local or modal)
|
| 30 |
+
DEPLOYMENT_MODE=local
|