13 lines
501 B
Python
13 lines
501 B
Python
NUM_THREADS = 2
|
|
SAMPLE_RATE = 16000
|
|
FEATURE_DIM = 128
|
|
PROVIDER = "cpu"
|
|
MAX_TOTAL_LEN = 2048
|
|
MAX_NEW_TOKENS = 256
|
|
|
|
LANGUAGE = "" # "" = support all languages / auto-detect
|
|
HOTWORDS = "" # Comma-separated hotword phrases, e.g. "AcmeCorp, FooBar".
|
|
# Biases the model to transcribe these phrases correctly,
|
|
# useful for brand/product/person names the model may
|
|
# otherwise mishear. Leave empty to disable.
|