-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.lua.txt
More file actions
87 lines (65 loc) · 4.29 KB
/
Copy pathsettings.lua.txt
File metadata and controls
87 lines (65 loc) · 4.29 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
-- set whispercpp if you want to use whisper.cpp instead of original python whisper
-- (uncommend removing the -- and set it to the path where the main executable is installed)
-- download the ggml models from: https://huggingface.co/ggerganov/whisper.cpp/tree/main
-- put models in a models subdirectory where the executable is. with ggml- prefix and .bin extension
-- for example: whisper.cpp/models/ggml-tiny.en.bin
--whispercpp = "/home/user/whisper.cpp/main"
-- Full path where whisper executable was installed.
-- Change it to your whisper executable. including extension .exe on Windows
whisperbin = "/home/user/whisper/.env/bin/whisper"
-- Custom arguments. Set any other custom argument you need.
custom_args = ""
-- task {transcribe,translate}
-- whether to perform X->X speech recognition ('transcribe') or X->English translation ('translate')
-- (default: transcribe)
task = "transcribe"
-- Output format for generated text file.
-- leave this in srt format for importing into REAPER
output_format = "srt"
--[[
-- model to use:
-- name of the Whisper model to use (default: small)
Size Parameters English-only model Multilingual model Required VRAM
tiny 39 M tiny.en tiny ~1 GB ~32x
base 74 M base.en base ~1 GB ~16x
small 244 M small.en small ~2 GB ~6x
medium 769 M medium.en medium ~5 GB ~2x
large 1550 M N/A large ~10 GB 1x --]]
model = "base.en"
-- language spoken in the audio, specify None to perform language detection
-- one of these: af,am,ar,as,az,ba,be,bg,bn,bo,br,bs,ca,cs,cy,da,de,el,en,es,et,eu,fa,fi,fo,fr,gl,gu,ha,haw,he,hi,hr,ht,hu,hy,id,is,it,ja,jw,ka,kk,km,kn,ko,la,lb,ln,lo,lt,lv,mg,mi,mk,ml,mn,mr,ms,mt,my,ne,nl,nn,no,oc,pa,pl,ps,pt,ro,ru,sa,sd,si,sk,sl,sn,so,sq,sr,su,sv,sw,ta,te,tg,th,tk,tl,tr,tt,uk,ur,uz,vi,yi,yo,yue,zh
-- or these: Afrikaans,Albanian,Amharic,Arabic,Armenian,Assamese,Azerbaijani,Bashkir,Basque,Belarusian,Bengali,Bosnian,Breton,Bulgarian,Burmese,Cantonese,Castilian,Catalan,Chinese,Croatian,Czech,Danish,Dutch,English,Estonian,Faroese,Finnish,Flemish,French,Galician,Georgian,German,Greek,Gujarati,Haitian,Haitian Creole,Hausa,Hawaiian,Hebrew,Hindi,Hungarian,Icelandic,Indonesian,Italian,Japanese,Javanese,Kannada,Kazakh,Khmer,Korean,Lao,Latin,Latvian,Letzeburgesch,Lingala,Lithuanian,Luxembourgish,Macedonian,Malagasy,Malay,Malayalam,Maltese,Mandarin,Maori,Marathi,Moldavian,Moldovan,Mongolian,Myanmar,Nepali,Norwegian,Nynorsk,Occitan,Panjabi,Pashto,Persian,Polish,Portuguese,Punjabi,Pushto,Romanian,Russian,Sanskrit,Serbian,Shona,Sindhi,Sinhala,Sinhalese,Slovak,Slovenian,Somali,Spanish,Sundanese,Swahili,Swedish,Tagalog,Tajik,Tamil,Tatar,Telugu,Thai,Tibetan,Turkish,Turkmen,Ukrainian,Urdu,Uzbek,Valencian,Vietnamese,Welsh,Yiddish,Yoruba
-- (default: "None")
language = "English"
-- (experimental) extract word-level timestamps and refine the results
-- based on them (default: "False")
word_timestamps = "True"
-- underline each word as it is spoken in srt and vtt
-- (requires word_timestamps "True")
-- (default: "False")
highlight_words = "False"
-- the maximum number of characters in a line before breaking the line
-- suggestion of 37 characters: https://www.bbc.co.uk/accessibility/forproducts/guides/subtitles/#Line-length
-- (requires word_timestamps "True")
-- (default: "None")
max_line_width = 37
-- the maximum number of lines in a segment
-- suggestion of 2 lines max: https://www.bbc.co.uk/accessibility/forproducts/guides/subtitles/#Avoid-3-lines-or-more
-- (requires word_timestamps "True")
-- (default: "None")
max_line_count = 2
-- no effect with --max_line_width) the maximum number of words in a segment
-- (default: "None")
max_words_per_line = "None"
-- merge these punctuation symbols with the next word (default: "'“¿([{-)
-- (requires word_timestamps "True")
prepend_punctuations = ""
-- merge these punctuation symbols with the previous word (default: "'.。,,!!??::”)]}、)
-- (requires word_timestamps "True")
append_punctuations = ""
-- number of threads used by torch for CPU inference;
-- (default: 0)
threads = 0
--other options
-- display internal messages for debugging
showdebug = false