mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-05-24 06:23:28 +00:00
fix(bug): [#56] remove .name
This commit is contained in:
parent
1a622c3cf0
commit
16803a4bb6
|
@ -49,7 +49,7 @@ class TTSBaseRepository(abc.ABC):
|
|||
continue
|
||||
break
|
||||
voice_model_dump = voice_model.model_dump()
|
||||
if voice_model_dump[field] != field_value.name:
|
||||
if voice_model_dump[field] != field_value:
|
||||
break
|
||||
else:
|
||||
voice_models_response.append(voice_model)
|
||||
|
|
Loading…
Reference in New Issue
Block a user