whisper-daemon/config.ini.example
Erik Thuning 132c885f7d Several changes
- moved the database into a dedicated work directory
 - added the required config setting for said directory
 - tightened the definition of the applied_evolutions table
 - set the timestamp for applied evolutions using sqlite builtin
 - started passing the database to the notifier thread
2024-05-16 14:20:16 +02:00

40 lines
1.1 KiB
Plaintext

[whisper-daemon]
# Internal working files directory
workdir = ./work
# User file storage settings
queuedir = ./queue
uploaddir = ./incoming
donedir = ./done
# What model to run and where to store it
model = large-v3
modeldir = ./whispercache
[worker]
# Acceleration options, all optional
# Device can be gpu or cpu, defaults to cpu
# Count is the number of workers to run. When running on gpu, at most as many
# workers as available gpus.
#device = gpu
#count = 2
[logging]
# Logging settings. This entire section is optional.
# see https://docs.python.org/3.9/library/logging.html for details
## What log messages are shown on stderr.
## Defaults to ERROR if omitted.
## For the spammiest logging, use the number 5 here.
## Beware that this can log multiple gigabytes per hour.
log_level = DEBUG
## Mail settings for emailing log messages.
## If mail_level is not set, no emails will be sent.
## If mail_level is present, all other mail_* fields must be configured.
mail_level = ERROR
mail_from = messages@example.com
mail_to = admin@example.com
mail_subject = whisper-daemon has encountered an error