add root readme

This commit is contained in:
2026-05-07 13:04:40 -03:00
parent 946234eb9e
commit feb5ecd463
10 changed files with 919 additions and 6 deletions

View File

@@ -35,3 +35,16 @@ TRANSCRIBE_LINES_PER_GROUP = 3 # whisper segments grouped per transcript ID (1-5
# Agent settings
AGENT_PERMISSION_MODE = "bypassPermissions" # default|acceptEdits|plan|bypassPermissions|dontAsk
AGENT_MAX_TURNS = 5
# Offline summarization (post-session diarization + export)
# whisperx lives in its own venv to avoid dep clashes with cht's faster_whisper.
# Defaults mirror transcribe_oneoff.sh: large-v3 + int8 fits in ~3-4 GB VRAM and
# is less hallucination-prone than medium on long meetings.
WHISPERX_BIN = os.environ.get("CHT_WHISPERX_BIN", "/home/mariano/wdir/venv/def/bin/whisperx")
WHISPERX_MODEL = os.environ.get("CHT_WHISPERX_MODEL", "large-v3")
WHISPERX_DEVICE = os.environ.get("CHT_WHISPERX_DEVICE", "cuda")
WHISPERX_COMPUTE_TYPE = os.environ.get("CHT_WHISPERX_COMPUTE_TYPE", "int8")
WHISPERX_BATCH_SIZE = int(os.environ.get("CHT_WHISPERX_BATCH_SIZE", "4"))
HF_TOKEN = os.environ.get("HF_TOKEN") # required for pyannote diarization
DEFAULT_PARTICIPANTS = 2
WHISPERX_LD_LIBRARY_PATH = os.environ.get("CHT_WHISPERX_LD_LIBRARY_PATH") # cuDNN override