-
Notifications
You must be signed in to change notification settings - Fork 4
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
Examples don't work for streaming #4
Comments
Oh neat! I hadn't realized Gradio could do that. Would be super nice to just cache and serve an rrd for each example. |
yes the examples should work. I need to check in case |
I'm working on a fix here https://github.com/radames/gradio-rerun-viewer/tree/fix-cache-examples, but still having an issue payload = self.data_model.from_json(payload)
File "/gradio-rerun-viewer/venv/lib/python3.10/site-packages/gradio/data_classes.py", line 186, in from_json
return cls(root=x)
File "/gradio-rerun-viewer/venv/lib/python3.10/site-packages/pydantic/root_model.py", line 71, in __init__
self.__pydantic_validator__.validate_python(root, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for RerunData
Input should be a valid list
For further information visit https://errors.pydantic.dev/2.7/v/list_type |
With 0.17 on the horizon, did you end up finding a fix for this? |
Settings examples to True or
lazy
breaks things and I get the following error. You can test using this code https://github.com/pablovela5620/mini-dpvo, and adding
cache_examples=True
hereThe text was updated successfully, but these errors were encountered: