You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example caching does not work inside gr.render() because the Examples/Interface code is not executed at runtime. The fix would be that if the cached example does not exist, it should be cached when the user clicks on the example (similar to lazy caching). However, we should make sure that if an Examples is re-rendered, the cached examples are not used since the function to generate those Examples may have changed.
Describe the bug
Example caching does not work inside
gr.render()
because the Examples/Interface code is not executed at runtime. The fix would be that if the cached example does not exist, it should be cached when the user clicks on the example (similar to lazy caching). However, we should make sure that if an Examples is re-rendered, the cached examples are not used since the function to generate those Examples may have changed.Have you searched existing issues? 🔎
Reproduction
Screenshot
No response
Logs
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: