浏览代码

feat: 修改入参

huangzhichao 1 月之前
父节点
当前提交
6e76422a74
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      app/schemas/speech.py

+ 1 - 2
app/schemas/speech.py

@@ -42,5 +42,4 @@ class TextToSpeechRequest(BaseModel):
     rate: float = 1
     filename: str
     text: str
-    model: Optional[str] = None
-    format: Optional[str] = None
+    model: str