Comments (3)
To clarify more, I think the behavior I would expect would be to call the .close()
method of the generator in question immediately after it is cancelled.
from gradio.
Thanks for filing @potamides ! Would you like to open a PR?
from gradio.
Sure, if someone can give me some pointers where to look at I would be happy to do that. For starters, I tried adding something like app.iterators[event_id].iterator.close()
to the following locations, but this didn't seem to work:
Lines 653 to 655 in d429690
Lines 826 to 828 in d429690
from gradio.
Related Issues (20)
- After upgrading from 3.45.1 to 4.36.1, fn in the button.click event cannot be fired HOT 7
- Unable to get gr.Request in the function with `every` HOT 1
- Gradio button doesn't allow to put tags in value HOT 1
- The Code component needs to support C source code. HOT 1
- Hot Reload issues in jupyter notebook
- Mixed Content: The page at 'https://' was loaded over HTTPS HOT 5
- You can't. It's too low HOT 1
- Custom Login Page with Standard Block Parameters HOT 2
- "You are using gradio version" should be a warning HOT 2
- Error while loading private space HOT 2
- Add missing component demos to docs
- [documentation] Toogle "dark" mode - Solved HOT 1
- .input() listener not working as intended for ImageEditor HOT 2
- Gradio Audio Component Issue for Longer Audio
- Discrepancy in Documentation Regarding `allowed_paths` in `launch()` Function
- Custom component doc generation can fail if a non-component python class is exported HOT 1
- Allow columns to be editable/uneditable independently in a single dataframe HOT 1
- Critical Accessibility Bug: gr.Chatbot and gr.ChatInterface is broken in v4.37.1. HOT 1
- Include authentication in curl docs
- `TabbedInterface` bug: Second Tab Running Logic of First Tab HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradio.