forked from shashikg/WhisperS2T
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
62 lines (48 loc) · 2.02 KB
/
Copy path.env.example
File metadata and controls
62 lines (48 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# WhisperS2T Hotkey Configuration
# Copy this file to .env and customize your settings
# =============================================================================
# AUDIO SETTINGS
# =============================================================================
# Microphone device index
MIC_DEVICE=5
# Audio sample rate (16000 is required for Whisper)
SAMPLE_RATE=16000
# =============================================================================
# MODEL SETTINGS
# =============================================================================
# Whisper model size: tiny, base, small, medium, large-v2, large-v3
MODEL=large-v3
# Backend: CTranslate2 (fastest), HuggingFace, OpenAI
BACKEND=CTranslate2
# Language code (en, es, fr, de, etc.)
LANGUAGE=en
# =============================================================================
# RECORDING SETTINGS
# =============================================================================
# Duration of each audio chunk in seconds
CHUNK_DURATION=10
# Overlap between chunks in seconds
CHUNK_OVERLAP=2
# =============================================================================
# HOTKEY SETTINGS
# =============================================================================
# Push-to-talk hotkey combination
HOTKEY=ctrl+cmd
# =============================================================================
# STOP MODE SETTINGS
# =============================================================================
# Auto-stop recording when silence is detected (false = manual only)
AUTO_STOP_ENABLED=false
# Seconds of silence before auto-stop
SILENCE_THRESHOLD=2.0
# RMS amplitude threshold for silence detection
SILENCE_RMS_THRESHOLD=500
# =============================================================================
# OUTPUT SETTINGS
# =============================================================================
# Automatically copy transcription to clipboard
COPY_TO_CLIPBOARD=true
# Show real-time progress in console
SHOW_PROGRESS=true
# Print final transcription to console
PRINT_TRANSCRIPTION=true