mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-12-21 15:46:01 +08:00
语音播报
This commit is contained in:
@@ -251,6 +251,7 @@ func main() {
|
||||
group.GET("clear", h.Clear)
|
||||
group.POST("tokens", h.Tokens)
|
||||
group.GET("stop", h.StopGenerate)
|
||||
group.POST("tts", h.TextToSpeech)
|
||||
}),
|
||||
fx.Invoke(func(s *core.AppServer, h *handler.NetHandler) {
|
||||
s.Engine.POST("/api/upload", h.Upload)
|
||||
|
||||
Reference in New Issue
Block a user