Browse Source

feat: 修改入参

huangzhichao 5 hours ago
parent
commit
6e76422a74
1 changed files with 1 additions and 2 deletions
  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