Video-Note-Taker / .env.example
rajiv-ramteke's picture
Fix critical issues: API key race conditions, unused pipeline stages, port mapping
28db209
Raw
History Blame Contribute Delete
1.1 kB
# ============================================================
# Deep-Dive Video Note Taker - Environment Configuration
# ============================================================
# Copy this file to .env and fill in your values
# --- LLM Provider ---
# Options: openai | huggingface
LLM_PROVIDER=openai
# OpenAI API Key (required if LLM_PROVIDER=openai)
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_MODEL=gpt-3.5-turbo
# HuggingFace (optional, for local models)
HUGGINGFACE_API_KEY=your_huggingface_api_key_here
HF_SUMMARIZATION_MODEL=facebook/bart-large-cnn
# --- Whisper ASR ---
# Options: tiny | base | small | medium | large
WHISPER_MODEL=base
WHISPER_DEVICE=cpu # cpu or cuda
# --- Text Processing ---
MAX_CHUNK_SIZE=1000
CHUNK_OVERLAP=200
# --- FAISS Vector DB ---
EMBEDDING_MODEL=all-MiniLM-L6-v2
FAISS_INDEX_PATH=data/embeddings/faiss.index
# --- Application ---
APP_HOST=0.0.0.0
APP_PORT=7860
DEBUG=True
# --- File Storage ---
UPLOAD_DIR=data/videos
AUDIO_DIR=data/audio
TRANSCRIPT_DIR=data/transcripts
SUMMARY_DIR=data/summaries
OUTPUT_DIR=outputs
MAX_FILE_SIZE_MB=500