summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-05-18 14:32:54 +0300
committerGrail Finder <wohilas@gmail.com>2025-05-18 14:32:54 +0300
commit441225ede8ef959058de4933e83870eb30a55ecf (patch)
tree84fc46674cc68774435ec32dc9fb88dd79abc3e6 /config
parent2b2e45ff00088ce25a1d06b6f4c3715090ceb869 (diff)
Refactor: cleanup stt mess, config use
Diffstat (limited to 'config')
-rw-r--r--config/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
index 5e00dba..ccae96d 100644
--- a/config/config.go
+++ b/config/config.go
@@ -42,6 +42,9 @@ type Config struct {
// TTS
TTS_URL string `toml:"TTS_URL"`
TTS_ENABLED bool `toml:"TTS_ENABLED"`
+ // STT
+ STT_URL string `toml:"STT_URL"`
+ STT_ENABLED bool `toml:"STT_ENABLED"`
}
func LoadConfigOrDefault(fn string) *Config {