upgraded gradio version

#2
by ysharma HF staff - opened

upgraded to latest gradio release

Hi @stevengrove the demo seems to be running into errors as shown in logs -

Task exception was never retrieved
future: <Task finished name='gkxfer0v0eu_0' coro=<Queue.process_events() done, defined at /home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/gradio/queueing.py:342> exception=1 validation error for PredictBody
event_id
Field required [type=missing, input_value={'data': ['data:image/png...on_hash': 'gkxfer0v0eu'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.6/v/missing>
Traceback (most recent call last):
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/gradio/queueing.py", line 346, in process_events
client_awake = await self.gather_event_data(event)
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/gradio/queueing.py", line 219, in gather_event_data
data, client_awake = await self.get_message(event, timeout=receive_timeout)
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/gradio/queueing.py", line 448, in get_message
return PredictBody(**data), True
File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/pydantic/main.py", line 171, in init
self.pydantic_validator.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for PredictBody
event_id
Field required [type=missing, input_value={'data': ['data:image/png...on_hash': 'gkxfer0v0eu'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.6/v/missing

I have submitted a pull request that is aimed at resolving the issue.

stevengrove changed pull request status to merged

Sign up or log in to comment