thinhlpg / vixtts-demo

A Vietnamese Voice Cloning Text-to-Speech Model ✨
https://huggingface.co/spaces/thinhlpg/vixtts-demo
Mozilla Public License 2.0
318 stars 151 forks source link

while loading model i get error on ubuntu 24 #10

Open namdroid opened 2 days ago

namdroid commented 2 days ago

File "/home/dev/vixttsdemo/.env/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py", line 558, in _unknown_type_schema raise PydanticSchemaGenerationError( pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'starlette.requests.Request'>. Set arbitrary_types_allowed=True in the model_config to ignore this error or implement __get_pydantic_core_schema__ on your type to fully support it.

If you got this error by calling handler() within __get_pydantic_core_schema__ then you likely need to call handler.generate_schema(<some type>) since we do not call __get_pydantic_core_schema__ on <some type> otherwise to avoid infinite recursion.