diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-11-20 11:19:59 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-11-20 11:19:59 +0300 |
| commit | 8351a9e084c9cc4a12a9319e14cf004cc2b2193b (patch) | |
| tree | 3ef31246af7bd8910eb2d2fb4ead7cf3ba1bd837 /config/config.go | |
| parent | a45120b8317a003234356170dcb5630dd3e1aaab (diff) | |
Feat: add filepicker
Diffstat (limited to 'config/config.go')
| -rw-r--r-- | config/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index 77873e8..ff74089 100644 --- a/config/config.go +++ b/config/config.go @@ -64,6 +64,7 @@ type Config struct { WhisperModelPath string `toml:"WhisperModelPath"` STT_LANG string `toml:"STT_LANG"` DBPATH string `toml:"DBPATH"` + FilePickerDir string `toml:"FilePickerDir"` } func LoadConfigOrDefault(fn string) *Config { @@ -99,6 +100,7 @@ func LoadConfigOrDefault(fn string) *Config { config.TTS_URL = "http://localhost:8880/v1/audio/speech" config.FetchModelNameAPI = "http://localhost:8080/v1/models" config.STT_SR = 16000 + config.FilePickerDir = "." // Default to current directory } config.CurrentAPI = config.ChatAPI config.APIMap = map[string]string{ |
