You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assist:gradion ui opens to input or generate an error Could not parse server response: SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON
#376
Open
seanwhen opened this issue
Sep 7, 2024
· 2 comments
Gradio opens, and then clicking on the image or video crashes, and the CLI deduces that everything is working fine for humans or animals.
“”“
cudaToolkit 12.6 16GbGPU 560.1.0
conda torch 2.3.0 cuda12.1 cudnn8.9
”“”
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.
The text was updated successfully, but these errors were encountered:
seanwhen
changed the title
Gradio
gradion ui opens to input or generate an error Could not parse server response: SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON
Sep 7, 2024
seanwhen
changed the title
gradion ui opens to input or generate an error Could not parse server response: SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON
Assist:gradion ui opens to input or generate an error Could not parse server response: SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON
Sep 7, 2024
Gradio opens, and then clicking on the image or video crashes, and the CLI deduces that everything is working fine for humans or animals. “”“ cudaToolkit 12.6 16GbGPU 560.1.0 conda torch 2.3.0 cuda12.1 cudnn8.9 ”“” 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.
Gradio opens, and then clicking on the image or video crashes, and the CLI deduces that everything is working fine for humans or animals. “”“ cudaToolkit 12.6 16GbGPU 560.1.0 conda torch 2.3.0 cuda12.1 cudnn8.9 ”“” 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. For further information visit https://errors.pydantic.dev/2.9/u/schema-for-unknown-type
Gradio opens, and then clicking on the image or video crashes, and the CLI deduces that everything is working fine for humans or animals.
“”“
cudaToolkit 12.6 16GbGPU 560.1.0
conda torch 2.3.0 cuda12.1 cudnn8.9
”“”
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 callhandler.generate_schema(<some type>)
since we do not call__get_pydantic_core_schema__
on<some type>
otherwise to avoid infinite recursion.For further information visit https://errors.pydantic.dev/2.9/u/schema-for-unknown-type
The text was updated successfully, but these errors were encountered: