diff options
author | Grail Finder <wohilas@gmail.com> | 2025-06-11 11:36:24 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-06-11 11:36:24 +0300 |
commit | c2da07ddc31440c0fdb129e108544f921436b3f1 (patch) | |
tree | d1300ea270606d917f2c48c673d11709433639a0 /extra | |
parent | 8902893f6ee5ff43738cb8bed1b578adf0c2cd26 (diff) |
Feat: rename user through props
Diffstat (limited to 'extra')
-rw-r--r-- | extra/tts.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/extra/tts.go b/extra/tts.go index 6cdecd4..31e6887 100644 --- a/extra/tts.go +++ b/extra/tts.go @@ -9,7 +9,6 @@ import ( "io" "log/slog" "net/http" - "regexp" "strings" "time" @@ -20,10 +19,10 @@ import ( ) var ( - TTSTextChan = make(chan string, 10000) - TTSFlushChan = make(chan bool, 1) - TTSDoneChan = make(chan bool, 1) - endsWithPunctuation = regexp.MustCompile(`[;.!?]$`) + TTSTextChan = make(chan string, 10000) + TTSFlushChan = make(chan bool, 1) + TTSDoneChan = make(chan bool, 1) + // endsWithPunctuation = regexp.MustCompile(`[;.!?]$`) ) type Orator interface { |