Comments (1)
Hi @feiyun0112 the reason for this is that you are providing a default value for the gr.Textbox()
, which automatically causes it to be non-interactive. You can see this happens even neither of the gr.Textbox
have interactive=False
:
import gradio as gr
with gr.Blocks() as demo:
gr.Textbox("test1")
gr.Textbox("test2")
if __name__ == "__main__":
demo.launch()
You have two options:
- Explicitly pass
interactive=True
- Use the component in an event as the input, and it will automatically be treated as an input and set to
interactive=True
from gradio.
Related Issues (20)
- 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
- More Login Form Customization with Standard Block Parameters
- "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
- 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
- typo in doc HOT 3
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.