feat: 后端封装tts,可以通过配置文件切换openvoice和vits
This commit is contained in:
1 parent
e2f3decfae
commit
ce033dca2b
6 files changed
+49
-62
No files matched your search
@@ -2,6 +2,7 @@ class DevelopmentConfig:
|
||||
SQLALCHEMY_DATABASE_URI = f"mysql+pymysql://takway:takway123456@127.0.0.1/takway?charset=utf8mb4" #mysql数据库连接配置
|
||||
REDIS_URL = "redis://:takway@127.0.0.1:6379/0" #redis数据库连接配置
|
||||
LOG_LEVEL = "DEBUG" #日志级别
|
||||
TTS_UTILS = "VITS" #TTS引擎配置,可选OPENVOICE或者VITS
|
||||
class UVICORN:
|
||||
HOST = "0.0.0.0" #uvicorn放行ip,0.0.0.0代表所有ip
|
||||
PORT = 8001 #uvicorn运行端口
|
||||
|
||||
Reference in new issue
Block a user