Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal errors when clicking "Generate" #252

Closed
mqsnn opened this issue Jan 14, 2024 · 2 comments
Closed

Terminal errors when clicking "Generate" #252

mqsnn opened this issue Jan 14, 2024 · 2 comments

Comments

@mqsnn
Copy link

mqsnn commented Jan 14, 2024

2024-01-14 15:02:47 | ERROR | asyncio | Task exception was never retrieved
future: <Task finished name='7lj86rlsnxj_248' coro=<Queue.process_events() done, defined at /Users/masong/one-click-installers-tts-6.0/installer_files/env/lib/python3.10/site-packages/gradio/queueing.py:342> exception=1 validation error for PredictBody
event_id
Field required [type=missing, input_value={'data': [], 'event_data'...on_hash': '7lj86rlsnxj'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing>
Traceback (most recent call last):
File "/Users/masong/one-click-installers-tts-6.0/installer_files/env/lib/python3.10/site-packages/gradio/queueing.py", line 346, in process_events
client_awake = await self.gather_event_data(event)
File "/Users/masong/one-click-installers-tts-6.0/installer_files/env/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 "/Users/masong/one-click-installers-tts-6.0/installer_files/env/lib/python3.10/site-packages/gradio/queueing.py", line 448, in get_message
return PredictBody(**data), True
File "/Users/masong/one-click-installers-tts-6.0/installer_files/env/lib/python3.10/site-packages/pydantic/main.py", line 164, 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': [], 'event_data'...on_hash': '7lj86rlsnxj'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.5/v/missing

@rsxdalv
Copy link
Owner

rsxdalv commented Jan 14, 2024

Ok, I have seen this error elsewhere but I will see if I can solve this here.

@rsxdalv
Copy link
Owner

rsxdalv commented Jan 15, 2024

I made a new update with a newer gradio version. According to what gradio themselves say, this should be the fix.
Please try updating to the latest version with macos_update.sh

@mqsnn mqsnn closed this as completed Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants