-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env
More file actions
29 lines (22 loc) · 1.24 KB
/
.env
File metadata and controls
29 lines (22 loc) · 1.24 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
# Whisper Transcription Configuration
# You can set default values here that will be used if not specified in command line
# Whisper model size (options: tiny, tiny.en, base, base.en, small, small.en, medium, medium.en, large-v1, large-v2, large-v3, large, turbo)
WHISPER_MODEL=small.en
# Default language code (e.g., 'en', 'bn', 'es', 'fr', etc. - leave empty for auto-detection)
WHISPER_LANGUAGE=en
# Default task (transcribe or translate)
WHISPER_TASK=transcribe
# Default output formats (comma-separated: srt,tsv,txt,vtt,json)
WHISPER_FORMATS=srt,txt,json
# Device preference (auto, cuda, cpu)
# auto = detect CUDA GPU or fallback to CPU
# cuda = force CUDA (falls back to CPU if not available)
# cpu = force CPU only
WHISPER_DEVICE=auto
# Gradio web interface sharing (true/false)
# Set to true to create a public link for sharing the interface
# Set to false to run locally only
GRADIO_SHARE=false
# Language mapping for display purposes (format: "Display Name:code,Display Name:code")
# This controls what languages appear in the dropdown and their corresponding Whisper codes
WHISPER_LANGUAGES=Auto Detect:auto,Arabic:ar,Bangla:bn,Chinese:zh,English:en,French:fr,German:de,Hindi:hi,Italian:it,Japanese:ja,Korean:ko,Portuguese:pt,Russian:ru,Spanish:es