summaryrefslogtreecommitdiff
path: root/extra/tts.go
diff options
context:
space:
mode:
Diffstat (limited to 'extra/tts.go')
-rw-r--r--extra/tts.go9
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 {