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
To create a public link, set share=Trueinlaunch(). WARNING: Invalid HTTP request received. WARNING: Invalid HTTP request received. WARNING: Invalid HTTP request received. WARNING: Invalid HTTP request received. Task exception was never retrieved future: <Task finished name='5xpinc8eja9_0' coro=<Queue.process_events() done, defined at /root/miniconda3/envs/webglm_new/lib/python3.9/site-packages/gradio/queueing.py:343> exception=1 validation error for PredictBody event_id Field required [type=missing, input_value={'data': ['test'], 'event...on_hash': '5xpinc8eja9'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.1/v/missing> Traceback (most recent call last): File "/root/miniconda3/envs/webglm_new/lib/python3.9/site-packages/gradio/queueing.py", line 347, in process_events client_awake = await self.gather_event_data(event) File "/root/miniconda3/envs/webglm_new/lib/python3.9/site-packages/gradio/queueing.py", line 220, in gather_event_data data, client_awake = await self.get_message(event, timeout=receive_timeout) File "/root/miniconda3/envs/webglm_new/lib/python3.9/site-packages/gradio/queueing.py", line 456, in get_message return PredictBody(**data), True File "/root/miniconda3/envs/webglm_new/lib/python3.9/site-packages/pydantic/main.py", line 159, in __init__ __pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__) pydantic_core._pydantic_core.ValidationError: 1 validation error for PredictBody event_id Field required [type=missing, input_value={'data': ['test'], 'event...on_hash': '5xpinc8eja9'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.1/v/missing
The text was updated successfully, but these errors were encountered:
在运行web_demo时(公网情况下 , gradio的server_name已经配置为0.0.0.0),cli_demo下正常。 报错信息如下:
To create a public link, set
share=Truein
launch(). WARNING: Invalid HTTP request received. WARNING: Invalid HTTP request received. WARNING: Invalid HTTP request received. WARNING: Invalid HTTP request received. Task exception was never retrieved future: <Task finished name='5xpinc8eja9_0' coro=<Queue.process_events() done, defined at /root/miniconda3/envs/webglm_new/lib/python3.9/site-packages/gradio/queueing.py:343> exception=1 validation error for PredictBody event_id Field required [type=missing, input_value={'data': ['test'], 'event...on_hash': '5xpinc8eja9'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.1/v/missing> Traceback (most recent call last): File "/root/miniconda3/envs/webglm_new/lib/python3.9/site-packages/gradio/queueing.py", line 347, in process_events client_awake = await self.gather_event_data(event) File "/root/miniconda3/envs/webglm_new/lib/python3.9/site-packages/gradio/queueing.py", line 220, in gather_event_data data, client_awake = await self.get_message(event, timeout=receive_timeout) File "/root/miniconda3/envs/webglm_new/lib/python3.9/site-packages/gradio/queueing.py", line 456, in get_message return PredictBody(**data), True File "/root/miniconda3/envs/webglm_new/lib/python3.9/site-packages/pydantic/main.py", line 159, in __init__ __pydantic_self__.__pydantic_validator__.validate_python(data, self_instance=__pydantic_self__) pydantic_core._pydantic_core.ValidationError: 1 validation error for PredictBody event_id Field required [type=missing, input_value={'data': ['test'], 'event...on_hash': '5xpinc8eja9'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.1/v/missing
The text was updated successfully, but these errors were encountered: