mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-05-24 14:33:26 +00:00
fix: [#28] add audio_content to request model
This commit is contained in:
parent
90735ca14e
commit
f59b097cfa
|
@ -7,6 +7,7 @@ class TTSRequestModel(pydantic.BaseModel):
|
||||||
model_config = pydantic.ConfigDict(use_enum_values=True)
|
model_config = pydantic.ConfigDict(use_enum_values=True)
|
||||||
|
|
||||||
voice_model_name: tts_models_voice.YandexVoiceModelNamesString
|
voice_model_name: tts_models_voice.YandexVoiceModelNamesString
|
||||||
|
audio_content: bytes
|
||||||
|
|
||||||
|
|
||||||
class TTSResponseModel(pydantic.BaseModel):
|
class TTSResponseModel(pydantic.BaseModel):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user