Skip to content

Commit bfcd063

Browse files
committed
🧹 chore: 移除多余的文档字符串注释
1 parent f94017c commit bfcd063

File tree

6 files changed

+0
-25
lines changed

6 files changed

+0
-25
lines changed

nonebot_plugin_fishspeech_tts/config.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
from typing import Optional, Literal
33
from nonebot import get_plugin_config
44

5-
"""
6-
用于定义配置文件类, 用于配置插件参数
7-
"""
8-
95

106
class Config(BaseModel):
117
# 基础配置

nonebot_plugin_fishspeech_tts/files.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
import re
55

66

7-
"""
8-
用于文件处理的工具函数
9-
"""
10-
117
# 音频文件后缀
128
AUDIO_FILE_SUFFIX = [
139
".mp3",

nonebot_plugin_fishspeech_tts/fish_audio_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
from pathlib import Path
2424
import ormsgpack
2525

26-
"""
27-
用于 FishAudio 的API接口调用
28-
"""
29-
3026

3127
is_reference_id_first = config.online_model_first
3228
online_api_proxy = config.online_api_proxy

nonebot_plugin_fishspeech_tts/fish_speech_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
)
1919
import ormsgpack
2020

21-
"""
22-
用于 离线FishSpeech 的API接口调用
23-
"""
24-
2521

2622
class FishSpeechAPI:
2723
def __init__(self):

nonebot_plugin_fishspeech_tts/matcher.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
from .request_params import ChunkLength
1010
from .config import config
1111

12-
"""
13-
用于 nonebot2 的 matcher 响应函数
14-
"""
15-
1612

1713
is_online = config.tts_is_online # True 为在线模式,False 为本地模式
1814
prefix = (

nonebot_plugin_fishspeech_tts/request_params.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
import enum
66

77

8-
"""
9-
用于定义请求参数的类
10-
"""
11-
12-
138
class ChunkLength(enum.Enum):
149
SHORT = 100
1510
NORMAL = 200

0 commit comments

Comments
 (0)