Interrupt button

#11
by adamelliotfields - opened

Note that cancels in Gradio cancels any events after the current event finishes.

Will add something like this if Gradio supports it natively (i.e., interrupts the current event and cancels all subsequent events). Otherwise it will require threading. For UX, the best solution is to use an appropriate timeout and prevent users from queueing up jobs that would timeout or otherwise consume a lot of their GPU credits.

adamelliotfields changed discussion status to closed

Sign up or log in to comment