We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cf3ce7 commit 37912f3Copy full SHA for 37912f3
nonebot_plugin_fishspeech_tts/config.py
@@ -10,15 +10,15 @@ class Config(BaseModel):
10
tts_chunk_length: Literal["normal", "short", "long"] = "normal"
11
tts_max_new_tokens: int = 800 # 大约6秒
12
tts_audio_path: str = "./data/参考音频"
13
- tts_prefix: Optional[str] = None
+ tts_prefix: str | None = None
14
tts_is_stream: bool = False # 是否流式传输
15
16
# 区分配置
17
online_api_url: str = "https://api.fish-audio.cn"
18
- online_authorization: Optional[str] = "xxxxx"
+ online_authorization: str | None = "xxxxx"
19
online_model_first: bool = True
20
# 设置代理地址
21
- online_api_proxy: Optional[str] = None
+ online_api_proxy: str | None = None
22
23
offline_api_url: str = "http://127.0.0.1:8000"
24
0 commit comments