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
32.23k stars 2.41k forks source link

Plot component is not cached with examples #1594

Closed osanseviero closed 2 years ago

osanseviero commented 2 years ago

Describe the bug

When caching an example, the plot component is not cached. See https://huggingface.co/spaces/keras-io/3D_CNN_Pneumonia/discussions/3

Is there an existing issue for this?

Reproduction

Go to https://huggingface.co/spaces/keras-io/3D_CNN_Pneumonia and click the example. It does not show any plot in the second output. Note that clicking Submit (so forcing the inference) does show the output plot, so it's a caching issue

Screenshot

No response

Logs

-

System Info

Gradio 3.0.11, Spaces

Severity

serious, but I can work around it

dawoodkhan82 commented 2 years ago

@osanseviero Will take a look