-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add step
param to Number
#5047
Add step
param to Number
#5047
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🎉 Chromatic build completed! There are 4 visual changes to review. |
🦄 change detectedThis Pull Request includes changes to the following packages.
With the following changelog entry.
Maintainers or the PR author can modify the PR title to modify this entry.
|
All the demos for this PR have been deployed at https://huggingface.co/spaces/gradio-pr-deploys/pr-5047-all-demos You can install the changes in this PR by running: pip install https://gradio-builds.s3.amazonaws.com/2f9d6add4a06a16cdff335777433d858d95e1c34/gradio-3.39.0-py3-none-any.whl |
…app/gradio into add-step-param-to-number
Works great @hannahblair! Tested by itself and along with Some small nits, otherwise LGTM |
…app/gradio into add-step-param-to-number
Description
Adds a
step
param to theNumber
component so we can define the interval at which the input value increases or decreases with the HTML up/down arrows.Demo:
Closes: #4737
🎯 PRs Should Target Issues
Before your create a PR, please check to see if there is an existing issue for this change. If not, please create an issue before you create this PR, unless the fix is very small.
Not adhering to this guideline will result in the PR being closed.
Tests
PRs will only be merged if tests pass on CI. To run the tests locally, please set up your Gradio environment locally and run the tests:
bash scripts/run_all_tests.sh
You may need to run the linters:
bash scripts/format_backend.sh
andbash scripts/format_frontend.sh