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
I have searched to see if a similar issue already exists.
Is your feature request related to a problem? Please describe.
Sometimes the app requires some pre-processing tasks that happen during the interactive session with the user (e.g.: cropping an image when it's uploaded), however, when using gr.Examples with cache_examples, this should be expedited into running all the tasks that happen in the interactive session.
Describe the solution you'd like
I'd like to be able to do a .then or .success after gr.Examples, so that once the first fn runs, others run in sequence.
The text was updated successfully, but these errors were encountered:
Thanks @apolinario agreed. I think we can just expose the caching event so that a developer could do .then, .success, cancellation, or anything else that they'd like with the event
Is your feature request related to a problem? Please describe.
Sometimes the app requires some pre-processing tasks that happen during the interactive session with the user (e.g.: cropping an image when it's uploaded), however, when using
gr.Examples
withcache_examples
, this should be expedited into running all the tasks that happen in the interactive session.Describe the solution you'd like
I'd like to be able to do a
.then
or.success
aftergr.Examples
, so that once the firstfn
runs, others run in sequence.The text was updated successfully, but these errors were encountered: