gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
33.64k stars 2.55k forks source link

Live mode doesn't automatically generate output for examples #906

Closed NimaBoscarino closed 2 years ago

NimaBoscarino commented 2 years ago

Describe the bug

When I have some examples and have set live=True for the interface, clicking on the examples doesn't automatically run the function and generate the output. Using inputs, such as sliders, does trigger the live reload properly.

Reproduction

Here's a Hugging Face space with the described behaviour: https://huggingface.co/spaces/NimaBoscarino/kornia-image-enhancement

Screenshot

https://www.loom.com/share/3fdf4588509e4cf5b005feeae8748f94

Logs

No response

System Info

Gradio version 2.9.0

Severity

annoyance

abidlabs commented 2 years ago

Thanks, we'll fix this!

abidlabs commented 2 years ago

This should be working now in the latest beta release of Gradio (gradio==2.9.0b2)

image

Thanks for creating the issue @NimaBoscarino!