Browse Source

feat: 删除参数

huangzhichao 4 hours ago
parent
commit
ee879ed463
2 changed files with 0 additions and 2 deletions
  1. 0 1
      app/providers/base.py
  2. 0 1
      app/services/speech_service.py

+ 0 - 1
app/providers/base.py

@@ -20,6 +20,5 @@ class SpeechProvider(Protocol):
         text: str,
         *,
         model: Optional[str] = None,
-        format: Optional[str] = None,
     ) -> TextToSpeechResponse:
         ...

+ 0 - 1
app/services/speech_service.py

@@ -14,5 +14,4 @@ class SpeechService:
             req.filename,
             req.text,
             model=req.model,
-            format=req.format,
         )