pngwn
2382f741ff
chore: update versions ( #7177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-06 15:19:29 -08:00
pngwn
138761226a
chore: update versions ( #7083 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-25 16:10:24 -08:00
pngwn
160e389580
chore: update versions ( #6825 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-19 16:17:10 -08:00
pngwn
1459119c6e
chore: update versions ( #6670 )
...
* chore: update versions
* change
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ali Abid <ubuntu@ip-172-31-25-241.us-west-2.compute.internal>
2023-12-12 18:32:54 -08:00
pngwn
fce80ac804
chore: update versions ( #6575 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-04 16:14:12 -08:00
pngwn
c5ea13bdf7
chore: update versions ( #6481 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-20 13:45:52 -08:00
pngwn
08c4ed2ced
chore: update versions ( #6420 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-16 19:54:38 -08:00
pngwn
e9bb445a63
chore: update versions ( #6308 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-07 15:50:13 -08:00
pngwn
e16b4abc37
chore: update versions ( #6039 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-31 13:20:18 +00:00
pngwn
287fe67828
Version 4 development branch ( #5498 )
...
* squash commit
* BugFix: Make FileExplorer Component Templateable (#5933 )
* Make FileExplorer templateable
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix notebooks (#5935 )
* V4: Update Component pyi file (#5937 )
* Add code
* add changeset
* delete
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* V4: Use beta release versions for '@gradio' packages (#5938 )
* Fix versions
* add changeset
* fix
* add changeset
* fix
* add changeset
* Fix
* fix preview
* add changeset
* final fix
* add changeset
* fix
* add changeset
* fix
* add changeset
* revert change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* maybe fix (#5946 )
* Merge main again (#5948 )
* maybe fix
* fix
* Merge main again (#5949 )
* maybe fix
* fix
* weird weird weird
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Merge main again (#5950 )
* maybe fix
* fix
* weird weird weird
* fix
* log
* log
* fix changesets
* rererefactor frontend files (#5960 )
* do all the things
* add changeset
* remove codemod
* fix
* change casing
* condense upload button
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Strip vite import warning (#5962 )
* Add code
* Remove comment
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5769 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* release wasm (#5963 )
* release wasm
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Wasm release (#5964 )
* release wasm
* release wasm
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5965 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add json schema unit tests (#5970 )
* Add tests
* add changeset
* Fix tests
* api-info
* Add test
* Add test
* Add email tests
* 3.8 fix 🙄
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* V4: Simple textbox (#5990 )
* Simple textbox
* add changeset
* Trim down events
* Trim
* Clean up change event
* Add comment
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* File upload optimization (#5961 )
* Use custom multipart parser
* add changeset
* remove print
* Add comment
* Lint
* fix code
* remove print
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Removes deprecated arguments and parameters from v4 (#5968 )
* Removes deprecated arguments and methods for v4
* remove update
* style
* add changeset
* added params
* typign
* fixed all of the typing
* tests
* fix layouts
* layout
* fix config
* fix
* fix form
* fix
* fix blocks tests
* fix some more tests
* lint
* fix test routes
* doc
* notebooks
* remove doc
* format
* format
* remove group
* label docstring
* remov test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* V4: Simple dropdown (#5996 )
* Add code
* lint
* comment
* add changeset
* revert
* Fix update + docstring cleanup
* Add code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* pass props to example components and to example outputs (#6014 )
* pass props to example components and to example outputs
* add changeset
* make util less egenric/ more useful
* fix demo
* fix demo
* fix
* fix test
* Fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
* Format js in v4 branch (#6016 )
* Format v4 branch js
* add changeset
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* V4: Fix component update bug (#6027 )
* Fix tests + bugs
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* lockfile update
* Fixing test
* fix test
* Add a cli command to list available templates (#6018 )
* Add code
* dataset
* Add test
* add changeset
* add changeset
* add changeset
* add changeset
* Exclude FormComponent
* Paginate the output
* No colors but emojis:
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* fix tests (#6046 )
* fix storybook (#6065 )
* fix storybook
* add changeset
* fix
* add changeset
* fix
* fix
* fix components
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* remove dupe component (#6067 )
* remove dupe component
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Simplify File Component (#6044 )
* Add code
* Add code
* Add code
* Reuse code UploadButton
* Use two files for UploadButton
* Address feedback
* Lint
* add changeset
* Update js/uploadbutton/shared/UploadButton.svelte
Co-authored-by: pngwn <hello@pngwn.io>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
* Clean up backend of `File` and `UploadButton` and change the return type of `preprocess()` from TemporaryFIle to string filepath (#6060 )
* changes
* add changeset
* upload button
* file
* add changeset
* valid types
* fix tests
* address review
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix Dropdown Example component and example processing logic (#6075 )
* fix examples
* helpers
* dropdown
* fix cc build (#6079 )
* fix cc build
* add changeset
* throw error if build fails
* fix entry points
* add changeset
* fix lockfile
* Add test
* update workflow
* try resolve
* lint 🙄
* Use xfail
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
* Fixes markdown rendering in examples (#6071 )
* Fixes markdown rendering in examples
* add changeset
* update delimiters
* format
* format
* docstrings
* test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Proposal: sample demo for custom components should be a `gr.Interface` (#6077 )
* update sample demo to interface
* add changeset
* modify
* Update gradio/cli/commands/components/_create_utils.py
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* added layout and static
* fix
* refine
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* WIP: Fix docs (#6082 )
* Website fix
* add changeset
* Fix code
* pin version
* Add code
* skip code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Pending events behavior (#5826 )
* enter changesets pre-release mode
* release first version (#5500 )
* release packages
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* fix changeset (#5502 )
* add changeset
* release first version
* Custom components (#5507 )
* Add flag
* Copy front-end
* Add backend code
* Remove breakpoint
* Fix init
* Add code
* File reorg
* Fix types
* Upload files
* Fix code
* Custom components
* Add code
* Client changes
* More changes
* Add code
* Add code
* Fix reversion
* build hook integration
* Add code
* rm file
* Add code
* rename cli
* Add code
* Nicer cli
* Add display class
* Add backend devmide
* Add code?
* Add code
* Add paths and fix reload mdoe
* Fix .then
* changes
* fix
* fix
* changes
* changes
* changes
* Fix versions
* Fix wheel build from source
* Add code
* Get no template case working
* Cc fe (#5509 )
* tweaks
* fix 18n
* fix 18n
* tweaks
* Change name
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
* Do not use live display for dev mode
* Clean up front-end server print statements a little bit
* Fix success event
* Cc fe 2 (#5526 )
* tweaks
* fix examples
* fix backend port
* fix things
* fix
* Fix json component flagging
* fix
* fuix
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
* Fix template (#5533 )
* Fix type hint (#5536 )
* fix custom components when installed from wheel (#5552 )
* Fix all demos custom components (#5555 )
* Fix all_demos
* Fix issues
* trigger ci
* add changeset
* Fix merge
* lockfile
* Add code
* add code
* Fix command
* Add code
* Fix highlighted text
* fix interactive highlighted text
* tweak ci
* Disable example caching for load right now
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* image fixes (#5589 )
* Add flag
* Copy front-end
* Add backend code
* Remove breakpoint
* Fix init
* Add code
* File reorg
* Fix types
* Upload files
* Fix code
* Custom components
* Add code
* Client changes
* More changes
* Add code
* Add code
* Fix reversion
* build hook integration
* Add code
* rm file
* Add code
* rename cli
* Add code
* Nicer cli
* Add display class
* Add backend devmide
* Add code?
* Add code
* Add paths and fix reload mdoe
* Fix .then
* changes
* fix
* fix
* changes
* changes
* changes
* Fix versions
* Fix wheel build from source
* Add code
* Get no template case working
* Cc fe (#5509 )
* tweaks
* fix 18n
* fix 18n
* tweaks
* Change name
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
* Do not use live display for dev mode
* Clean up front-end server print statements a little bit
* Fix success event
* Cc fe 2 (#5526 )
* tweaks
* fix examples
* fix backend port
* fix things
* fix
* Fix json component flagging
* fix
* fuix
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
* Fix template (#5533 )
* Fix type hint (#5536 )
* fix custom components when installed from wheel (#5552 )
* Fix all demos custom components (#5555 )
* Fix all_demos
* Fix issues
* trigger ci
* add changeset
* Fix merge
* lockfile
* Add code
* add code
* Fix command
* Add code
* Fix highlighted text
* fix interactive highlighted text
* tweak ci
* fix image uploads
* add changeset
* remove changeset
* add changeset
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Support Literal Typehints (#5591 )
* Fix updateable
* Deploy for failing actions
* fix enum
* Add code
* remove gradio lite from publish ci
* fix
* fix
* chore: update versions (beta) (#5501 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix js deps in cli and add gradio-preview artifacts to build (#5610 )
* Fix js dependencies in cli
* Add preview to build command
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5612 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* backend linting (#5613 )
* backend linting
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Publish js theme (#5615 )
* Publish js theme
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5614 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add code (#5617 )
* Add docstring to trigger release (#5618 )
* Add docstring
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5619 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix build and broken imports (#5620 )
* fix broken import
* fix build scripts
* add changeset
* Update js/statustracker/static/index.svelte
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5621 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix esbuild (#5624 )
* fix build
* fix build
* add changeset
* fix build
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5626 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix esbuild (#5629 )
* fix build
* fix build
* add changeset
* fix build
* fix
* asd
* more fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* asd (#5630 )
* chore: update versions (beta) (#5631 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Some minor v4 fixes (#5637 )
* Add code
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Publish all components to npm (#5648 )
* Publish image component
* publish components
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5638 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix front-end imports + other misc fixes (#5649 )
* Fix console error
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Add overwrite flag to create command (#5651 )
* Add overwrite flag to create command
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5650 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Make layout components templateable (#5665 )
* Split out layouts
* Refactor cli
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Patch fixes (#5678 )
* Handle lowercase template name frontend
* Lint
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix build and file route (#5680 )
* Add code
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5662 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* V4 fix typing (#5686 )
* Add examples for series and parallel
* v4 fix typing
* add changeset
* Fix
* Fix
* Fix 3.8
* Fix typing 3.8
* Lint
* Add code
* Add key
* Fix typing
* Add code
* Fix deps
* Fix fastapi
* Fix version
'
:
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Use overrides (#5695 )
* Use overrides
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* ensure client is copied along with components (#5709 )
* ensure client is copied along with components
* add changeset
* add changeset
* chore: update versions (beta) (#5688 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix build config (#5710 )
* Fix python unit tests for v4 (#5715 )
* Add code
* Fix tests
* Add ci
* Add code
* fix test_blocks
* More fixes
* Last changes
* add changeset
* Add code
* Continue for the sake of some green ci
* Proper api info
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Better test dir check (#5719 )
* FIx test-dir check
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Use path to npm executable in subprocess (#5736 )
* Use path to npm in subprocess
* Fix dev mode too
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Add Error + test (#5738 )
* Add Error + test
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix component regex (#5739 )
* Add code
* Fix component regex
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix layout templates (#5740 )
* Fix templates
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix template remaining components (#5743 )
* add code
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* --overwrite deletes previous content (#5744 )
* Add code
* Add code
* add changeset
* Add test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Support call method (#5751 )
* Support call method
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix windows ci build (#5752 )
* Try bash
* Use cross-env
* Trigger CI
* Fix comma
* add changeset
* Modify lock file
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix windows paths (#5745 )
* Use posix path
* add changeset
* add changeset
* Try normalize
* to_posix v2
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (beta) (#5717 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Simplify how files are handled in components in 4.0 (#5768 )
* Client and upload route hash files
* Refactor logic
* add changeset
* Add code
* View API fix
* Fix client tests
* Dumb windows fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix deployed demos on v4 branch (#5770 )
* Template fixes
* add changeset
* add changeset
* Fix streaming audio
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Name Endpoints if api_name is None (#5782 )
* Implementation and test
* add changeset
* fix lint
* Fix nits
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* pending events
* add changeset
* Set api=False for cancel events (#5851 )
* Set api=False for cancel events
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* V4: Set cache dir for some component tests (#5852 )
* Add code
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* V4: Use async version of shutil in upload route (#5853 )
* Use async shutil copy
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* trigger_mode
* changes
* undo
* undo
* add changeset
* undo
* add changeset
* image undo
* add changeset
* fix merge errors
* remove prints
* change
* fix
* fix error
* change
* quick fix
* trigger_mode param
* type
* value error
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fixes: slider bar are too thin on FireFox (#5984 )
* firefox slider fix
* add changeset
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix remaining xfail tests in backend (#6073 )
* Add code'
* Add code
* Add code
* Fix dataset
* add changeset
* Add some comments
* Add recover_kwargs
* Remove from docstring
* Audio-to-audio
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix dev mode model3D (#5955 )
* Fix dev mode
* Lint
* add changeset
* Fix dev mode
* Lint
* remove console.log
* add changeset
* interactive fix
* Fix tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood <dawoodkhan82@gmail.com>
* V4: Single-file implementation of form components (#6026 )
* Checkbox and number
* Number, Checkboxgroup, Radio, and Slider
* Format
* remove range
* Refactor checkbox
* Forgot to add
* Refactor
* Lint
* add changeset
* use rich emoji markup
* Fix ts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Update logos for v4 (#6089 )
* update v4 logo
* add changeset
* size
* fix on website
* fix on demos
* add changeset
* favicon for demos
* margin on footer logo
* margin bottom to footer logo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Add a stand-alone install command and tidy-up the fallback template (#6092 )
* Add code
* add changeset
* Add test
* Make install default
* Better error message
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* V4: Fix constructor_args (#6093 )
* Fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix: Move to cache in init postprocess + Fallback Fixes (#6107 )
* Add code and test
* restore
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* fix build (#6112 )
* fix build
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Update cold-lemons-roll.md
* Revert "Update cold-lemons-roll.md" (#6113 )
This reverts commit 20dbf90811
.
* Try to trigger a major beta release (#6114 )
* pyproject fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Delete bad changelog (#6115 )
* Delete bad changelog
* Revert "Delete bad changelog"
This reverts commit a8ca614eaf
.
* Delete bad
* formatting
* Revert "formatting"
This reverts commit 94f43859e7
.
* Improve Audio Component (#5966 )
* replace <audio> with wavesurfer: add recording, playing and trimming, playback
* add changeset
* merge cleanup
* improving recording styling
* add recording timer
* add trim region duration
* allow trimming recordings
* clean up playing logic
* add pause_recording event
* remove crop min/max
* add waveform options param
* remove trimmingmode and use mode
* streaming + cleanup
* add changeset
* clean up types
* mobile adjustments
* add min/max length + trim accessibility
* update pnpm lock
* amend source to a list and allow source switching
* fix no microphone found logic
* change undo logic to reset trims
* tweaks
* tweak reset logic
* ensure recording is sent to backend
* fix audio duration reactivity
* list tweak
* clean up
* change source -> sources + restore wasm changes
* formatting
* fix tests
* fix test
* add default sources value in fe + fix audio demos
* fix audio file name test
* add better sources typing
* ui test tweaks
* add default value in templates.py
* formatting
* remove unused prop
* add audio story
* add changeset
* revert sources changes
* remove story id
* fix be test
* fix be test
* fix notebooks
* formatting
* fix test
* fix test again
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
* Fix changesets 2 (#6116 )
* fix changesets
* release major
* Fix changesets 2 (#6117 )
* fix changesets
* release major
* asd
* fix version
* chore: update versions (beta) (#5973 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* v4
* Open source FRP server and allow `gradio` to connect to custom share servers (#6091 )
* add param
* add support for custom address
* add changeset
* share guide
* guide
* add params
* add changeset
* fix launch
* add test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Gradio custom component publish (#6098 )
* Add code
* add changeset
* F-string
* Add pwd
* Add source to space
* Add template
* Twine import
* add changeset
* ignore
* restore
* add changeset
* Address feedback
* Update gradio/cli/commands/components/publish.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix static issues with Lite on v4 (#6124 )
* fix missing props
* fix path to types
* add changeset
* fix path to i18n
* fix audio tests
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
* Refactor `Blocks.load()` so that it is in the same style as the other listeners (#6126 )
* restore decorator
* remove
* refactor load
* remove restriction
* add changeset
* add pyi
* add test
* add test
* fix tests
* metaclass
* future
* reduce'
* docstring
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Small change to make `api_open=False` by default (#6138 )
* set api_open to False by default
* add changeset
* tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Image v4 (#6094 )
* simplify image interface
* changes
* asd
* asd
* more
* add code (#6095 )
* more
* fix tests
* add changeset
* fix client build
* fix linting
* fix test
* lint
* Fix tests + lint
* asd
* finish
* webcam selection
* fix backend
* address comments
* fix static checks
* fix everything
* add changeset
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix examples
* fix tests
* fix tests
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix fallback demo app template code (#6129 )
* Add test
* add changeset
* Add JSON note
* Fix test
* Update gradio/cli/commands/components/_create_utils.py
* Update test/test_gradio_component_cli.py
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix video path
* Revert "fix video path"
This reverts commit 5916b3dc8a
.
* Fix selectable prop in the backend (#6135 )
* Add to init
* Fix events
* add changeset
* Add code
* add changeset
* Fix typo
* Add code
* Fix highlighted text typo
* remove from docs
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix video (#6140 )
* fix video
* add changeset
* fixes
* fixes
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* fix some tests on mac
* fix circular dependency with client + upload (#6143 )
* fix circular dependency
* add changeset
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix image double change bug (#6146 )
* fix test
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* make lite private (#6147 )
* make lite private
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* fix dropdown arrow size (#6148 )
* fix dropdown arrow size
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* swap `mode` on the frontned to `interactive` to match the backend (#6149 )
* JS READMEs and Storybook on Docs (#6142 )
* changes
* changes
* working
* remove storybook path
* add changeset
* pin code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Don't serve files in working directory by default (#6128 )
* don't serve files in working directory by default
* add changeset
* handle examples
* remove dotfiles
* guide
* guide
* fix tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix issues with website deploy (#6151 )
* fixes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Swap websockets for SSE (#6069 )
* changes
* changes
* changes
* changes
* changes
* merge
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* add changeset
* Fix client tests sse branch (#6150 )
* Switch spaces
* Fix tests
* Add code
* changes
* changes
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* Remove duplicate `elem_ids` from components (#6152 )
* remove elem_ids from components
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Moves `gradio_cached_folder` inside the gradio temp direcotry (#6155 )
* cache -> temp
* restore
* add changeset
* add exception for cached examples
* security policy
* join
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Remove `show_edit_button` param in Audio (#6153 )
* remove `show_edit_button` param
* add changeset
* hide overflow
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Remove interpretation for good (#6154 )
* interpretation
* notebooks
* add changeset
* removed from readme
* lint
* fix demo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Make output components not editable if they are being updated (#6157 )
* make outputs not editable
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* JS Component Documentation (#6136 )
* Simple template
* More changes
* Properly handle change event video
* add changeset
* Add code'
* Fix play/pause bugs
* add changeset
* atoms doc
* Chatbot
* add changeset
* Some more components
* Add code
* add changeset
* Lint
* add changeset
* Simple template
* More changes
* Properly handle change event video
* add changeset
* Add code'
* Fix play/pause bugs
* add changeset
* atoms doc
* Chatbot
* add changeset
* Some more components
* Add code
* add changeset
* Lint
* Merge in latest changes
* Fix typo
* Fix build
* Lockfile
* Fix
* Fix interactive
* correct the title
* add versions to readme
* only document public
* add changeset
* Remove simplevideo and audio
* add changeset
* changes to readmes
* add changeset
* remove tootils and theme
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Improve Video Component (#6118 )
* change source to sources + add length logic
* add changeset
* add min/max logic
* tweak tests
* change sources
* formatting
* fix test_components.py test
* add trimming
* add changeset
* add keyboard events to trimming timeline
* UX improvements
* Add fix
* add loading status
* flip if webcam is only source
* generate notebooks
* remove scroll
* add file extension
* trim (#6156 )
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* add loading indicator to video
* ensure correct file ext is used
* tweak
* change where ffmpeg is loaded
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* chore: update versions (beta) (#6122 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* V4 fixes (#6161 )
* changes
* changes
* Pin 8.9 (#6162 )
* Pending outputs fix (#6160 )
* fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Clean root url (#6159 )
* clean
* cleanup
* formatting
* add changeset
* fe
* add changeset
* selectable
* block
* fix
* fixes
* fix update
* gradio/events
* configs
* remove
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* V4 fixes (#6167 )
* changes
* changes
* Fixes remaining backend tests (#6165 )
* fix backend tests
* add changeset
* changes
* fix strings
* lint
* lint
* fixes
* delete test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-10-31 04:46:02 +00:00
pngwn
35f58db405
chore: update versions ( #5940 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-17 23:38:35 -07:00
pngwn
a46cb94870
chore: update versions ( #5831 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-16 13:30:41 -07:00
pngwn
3d263ba007
chore: update versions ( #5796 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-05 14:10:45 -07:00
pngwn
d6295df030
chore: update versions ( #5742 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-02 20:55:55 -07:00
pngwn
710cbb67fc
chore: update versions ( #5419 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-07 13:26:14 -07:00
pngwn
d5d0e418c9
chore: update versions ( #5361 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-01 17:27:32 -07:00
pngwn
ba4c6d9e65
chore: update versions ( #5177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-23 15:41:08 -07:00
pngwn
1419538ea7
Refactor component directories ( #5074 )
...
* asd
* changes
* fix everything
* cleanup
* add changeset
* fix casing
* lockfile
* fix casing
* fix ci, enable linting
* fix test
* add changeset
* add changeset
* delete changeset
* fix dirs
* fix casing
* fix notebooks
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
* fix casing
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-03 23:01:18 +01:00
Abubakar Abid
7d89716519
gr.Dropdown
now has correct behavior in static mode as well as when an option is selected (#5062 )
...
* dropdown fixes
* add changeset
* add changeset
* guide
* guide
* stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-02 12:32:45 -04:00
Jody Zhou
f5539c7618
Enhancement: Add focus event to textbox and number component ( #5005 )
...
* Add focus event to textbox and number component
* add changeset
* Combine Blurrable and Focusable into Focusable event
* Add focus and blur to Dropdown and Colorpicker components
* add focus to home page template
* Add Focus to doc
* Fix linting error
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-08-01 16:02:50 -04:00
Hannah
883ac364f6
Add step
param to Number
( #5047 )
...
* add step param to number component
* add changeset
* fix test
* fix BE test
* fix test again
* update number.py
* fix test
* test fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-01 12:44:33 +01:00
Abubakar Abid
620e464527
gr.Dropdown()
now supports values with arbitrary characters and doesn't clear value when re-focused (#5039 )
...
* changelog
* changes
* add changeset
* fixes
* revert
* add changeset
* python reorder
* add changeset
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-31 08:31:39 -04:00
pngwn
861d752a83
chore: update versions ( #4999 )
...
* chore: update versions
* undo diff
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-26 17:10:24 -04:00
pngwn
62306d9ed1
unified release process ( #4986 )
...
* Implement unified version and release mechanism for all python and javascript packages.
* Update gradio/package.json
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix changelog
* fix changelog
* Update js/button/README.md
* Update .github/workflows/generate-changeset.yml
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-21 19:13:21 +01:00
aliabid94
b68aeea412
Improve gr.ChatInterface
UI, add autofocus to textbox ( #4978 )
...
* changes
* changes
* lint
* fix tests
* fix
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-20 14:44:52 +03:00
aliabid94
f2fd37ee59
Fix gr.Group, container=False ( #4916 )
...
* changes
* changes
* changes
* changes
* changes
* fix
* changes
* changes
* Deploy group demo
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-17 10:05:46 -07:00
Abubakar Abid
b16732ffb2
Add RTL support to Textbox
, Markdown
, Chatbot
( #4933 )
...
* add rtl support
* redo
* remove param
* clog
* fix backend tests; add textbox story
* add textbox story
* fix textbox story
* fixed textbox story, markdown
* markdown story
* format
* fixes'
* Update CHANGELOG.md
* update docstrings
* fix tests
* fix static checks
* fix tests
2023-07-17 12:53:23 -04:00
pngwn
085ff0394d
update deps + fix tests ( #4675 )
...
* update deps + fix tests
* tweak
* fixes
* changes
* fix everything
* fix checks
* fix
* log
* remove logs
* try this
2023-06-28 22:40:53 +01:00
Abubakar Abid
dd97ee9940
Dropdown cutoff fix ( #4691 )
...
* form
* changelog
* overflow y
* changes
* changes
* changes
* Update js/form/src/DropdownOptions.svelte
Co-authored-by: Aarni Koskela <akx@iki.fi>
* Update js/form/src/DropdownOptions.svelte
Co-authored-by: Aarni Koskela <akx@iki.fi>
* changes
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-06-28 16:00:27 -05:00
pngwn
1650e1d383
4549 autoplay ( #4705 )
...
* changes
* tests
* revert demo
* changelog
* cleanup audio
* more tests
* handle video
* cleanup
* fix notebooks
* cleanup
* reinstate files
* fix notebooks
* fixes
* fix tests
2023-06-28 19:37:21 +01:00
Hannah
58c6d68f20
Add radio unit test ( #4710 )
...
* add radio unit test
* add default selection
* remove unused spy
2023-06-28 19:26:34 +01:00
Abubakar Abid
4729457929
Add a gr.ClearButton
( #4456 )
...
* clear button
* restore
* button in interface
* changelog
* fixes
* simplify
* changes
* components
* changed dropdown behavior
* fix label
* add tests
* update demos
* changelog
* changelog
* restore
* formatting
* revert dropdown
* frontend changes
* other fixes
* changelog
* update guide
* future
* fix tests
* fix tests
* fix tests
* changelog
* update guide
2023-06-13 19:18:14 -05:00
Dawood Khan
e9aa9eec37
gr.Number() max/min limit ( #3991 )
...
* Add min max handling for Number (#3871 )
* feat: add min max handling for Number
* Update CHANGELOG.md
* fix: Error when min or max is not specified
* fix formatting
* fix: error when nothing is specified
* Just put infinity in min and max
---------
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
* number limit
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* New Version Docs (#4027 )
* [create-pull-request] automated change
* Trigger Build
---------
Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* Safer `HuggingFaceDatasetSaver` (and deprecate `HuggingFaceDatasetJsonSaver`) (#3973 )
* Draft for a safer HuggingFaceDatasetSaver
* Rename (and replace) gr.SaferHuggingFaceDatasetSaver as gr.HuggingFaceDatasetSaver
* update changelog
* ruff
* doc
* tmp work
* merge 2 classes
* remove useless code
* adapt tests
* Update gradio/flagging.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update CHANGELOG.md
* fix typing
* code formatting
* removed print from tests
* removing imports
* removing imports
* fix paths
* formatting
* wording
* formating
* fix tests
---------
Co-authored-by: testbot <lucainp@hf.co>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* merge
* Allow state to be rendered multiple times (#4030 )
* state render
* add test
* formatting
* changelog
* Allow decoding b64 string without header in processing utils (#4031 )
* allow decoding b64 string without headers
* install gradio-client in edittable mode
* update GH actions
* add test for decoding headerless b64
* add test for decoding headerless b64 image
* some linting
* fix test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Sets matplotlib backend to agg before rendering math (#4029 )
* matplotlib-agg
* fix
* context manager
* Update CHANGELOG.md
* update demos
* linting
* removed warning
* fix test
* fixes
* fix tests
* Upgrade pyright to 1.1.305 (#4042 )
* Fastapi Python Client Guide (#3892 )
* fastapi guide
* changelog
* writing
* finish guide
* fix
* Update guides/06_client-libraries/fastapi-app-with-the-gradio-client.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_client-libraries/fastapi-app-with-the-gradio-client.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_client-libraries/fastapi-app-with-the-gradio-client.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_client-libraries/fastapi-app-with-the-gradio-client.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* dependencies
* html
---------
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* fix overflowing gutter and dark mode base color (#4051 )
* Add ability to blocklist filepaths, ability to specify where gradio temp files are created (#4047 )
* temporary file
* tests
* formatting
* rename
* added another test
* guide
* formatting
* changelog
* added custom gradio temp directory (#4053 )
* added custom gradio temp directory
* Update 03_sharing-your-app.md
* rename test
* address review
* remove print
* Chatbot code syntax highlighting (#4048 )
* first pass
* fixes
* more fixes
* remove breaks
* format
* version
* pr fixes
* changelog
* test fix
* background color
* format
* revert test fix
* changes
* changes
* test
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
* Fixes issue with indentation in code field with streaming (#4043 )
* indent fix
* fix
* changelog
* fix overflowing gutter and dark mode base color (#4051 )
* Add ability to blocklist filepaths, ability to specify where gradio temp files are created (#4047 )
* temporary file
* tests
* formatting
* rename
* added another test
* guide
* formatting
* changelog
* added custom gradio temp directory (#4053 )
* added custom gradio temp directory
* Update 03_sharing-your-app.md
* rename test
* address review
* remove print
* Chatbot code syntax highlighting (#4048 )
* first pass
* fixes
* more fixes
* remove breaks
* format
* version
* pr fixes
* changelog
* test fix
* background color
* format
* revert test fix
* changes
* changes
* test
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
* fix
* fix test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Ali Abid <aabid94@gmail.com>
* [create-pull-request] automated change (#4059 )
Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changelog (#4064 )
* New Version Docs (#4069 )
* [create-pull-request] automated change
* Trigger Build
---------
Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* Soft theme fix (#4070 )
* fix
* fix
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Empty gallery fix (#4072 )
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix bug where functions with type hints caused errors (#4068 )
* Fix + test
* CHANGELOG
* Update test/test_utils.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/utils.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* More Ruff rules (#4038 )
* Bump ruff to 0.0.264
* Enable Ruff Naming rules and fix most errors
* Move `clean_html` to utils (to fix an N lint error)
* Changelog
* Clean up possibly leaking file handles
* Enable and autofix Ruff SIM
* Fix remaining Ruff SIMs
* Enable and autofix Ruff UP issues
* Fix misordered import from #4048
* Fix bare except from #4048
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* [WIP] Language Agnostic Typing in `/info` route (#4039 )
* First commit
* All serializers
* Remove output type
* Add route
* Format json
* Modify dropdown and slider choices
* Fix impl
* Lint
* Add tests
* Fix lint
* remove breakpoint
* Tests passing locally
* Format code
* Address comments
* Use union + fix tests
* handle multiple file case
* Add serializer to info payload
* lint
* Add to CHANGELOG
* grc version
* requirements
* fix test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Keep hidden Accordion content in DOM (#4073 )
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Theme builder fixes (#4080 )
* theme-builder-fixes
* theme-builder-fixes
* fix expand issue
* changes
* Update gradio/themes/builder_app.py
* changelog
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
* Misc file and docs fixes (#4086 )
* uvicorn version
* uvicorn version
* changes
* guides
* guide
* changelog
* typo
* typo
* Update guides/04_integrating-other-frameworks/01_using-hugging-face-integrations.md
* chinese lang
* rename
* Update guides/04_integrating-other-frameworks/01_using-hugging-face-integrations.md
* Update guides/03_building-with-blocks/04_custom-CSS-and-JS.md
Co-authored-by: aliabid94 <aabid94@gmail.com>
* address review
* simplify section
---------
Co-authored-by: aliabid94 <aabid94@gmail.com>
* Removing "State" from view API info (#4107 )
* wip pr
* update client version
* update space fetcher
* changelog, workflow
* fix not flaky tests
* lint
* v2
* Dont send request to `/info` if version before 3.28.3 (#4109 )
* Add code
* Lint
* CHANGELOG
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Upload audio ios (#4071 )
* changes
* changes
* change
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Allow textbox / number submits to trigger Interface submit (#4090 )
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix slider released event not triggering when released on mobile (#4098 )
* Fix slider released event not triggering when released on mobile
* Update CHANGELOG
* fix range test
* retrigger
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix then logic to work after failures (#4115 )
* change
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fixes to view API page (#4112 )
* logo
* fix for new info and logo path
* changelog
* remove example_input from returns
---------
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Add support for async generators (#3821 )
* Add impl + unit test
* CHANGELOG
* Lint
* Type check
* Remove print
* Fix tests
* revert change
* Lint
* formatting
* Fix test
* Lint
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
* release (#4116 )
* Bumpt client version (#4125 )
* New Version Docs (#4131 )
* [create-pull-request] automated change
* Trigger Build
---------
Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* Fix create version docs action (#4130 )
* define version instead of upgrading
* add sleep
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix dev docs (#4132 )
* Move .config/README.md to js/README.md
* Link js/README.md from CONTRIBUTING.md
* Update CHANGELOG.md
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changelog (#4136 )
* Fix website build issue (#4142 )
* upgrade pnpm
* changelgo
* Fix python client test (#4138 )
* Fix python client test
* CHANGELOG
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix isssue with running with nginx (#4133 )
* nginx-root
* fix
* ability to set root path
* removed root
* removed root
* fix
* changelog
* Update gradio/routes.py
Co-authored-by: aliabid94 <aabid94@gmail.com>
* Update gradio/routes.py
Co-authored-by: aliabid94 <aabid94@gmail.com>
---------
Co-authored-by: aliabid94 <aabid94@gmail.com>
* Record username when flagging (#4135 )
* record username
* fix
* changelog fix
* format
* fix hf saver
* fix deserialization
* fixes
* Fix api info for File component (#4153 )
* Fix output file type info
* Fix example inputs
* CHANGELOG
* Update client
* Add test
* Bump version
* Bump min client version
* Update .prettierignore adding client/js/dist and .venv (#4160 )
* Fix the prettier.ignorePath field in the VSCode workspace settings (#4164 )
Co-authored-by: pngwn <hello@pngwn.io>
* simplify format of changelog (#4163 )
* Fix the wildcard in .editorconfig to match files in nested directories (#4165 )
* Fix the wildcard in .editorconfig to match files in nested directories
* Remove a wrong whitespace in a brace expansion notation in .editorconfig
---------
Co-authored-by: pngwn <hello@pngwn.io>
* Fix flaky interface test (#4168 )
* Fix test
* Lint
* Fix vs code lint
* Adds missing components to gradio client serializing's component mapping (#4167 )
* add missing serialization
* format
* update release note format
* update release note format
* fix test
* Release 3.30 (#4166 )
* release
* requirements
* [Docs] Resolve numerous typos (#4170 )
* Resolve numerous typos
* Delete test.py
* Run generate_notebooks
* notebooks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* New Version Docs (#4172 )
* [create-pull-request] automated change
* Update v3.30.0_template.html
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Dispatch dropdown change on value change for any reason (#4128 )
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* hotfix for test (#4173 )
* hotfix for test
* removed comment
* 3712 js client (#3899 )
* update ci (#4184 )
* bump client version (#4185 )
* bump client version
* ignore spaces-test
* Fix (#4186 )
* bump client version
* ignore spaces-test
* fix
* update token for npm action (#4187 )
* change (#4189 )
* ci typo (#4190 )
* Fix npm publish again again (#4191 )
* ci typo
* fix
* Fix npm publish again again (#4192 )
* ci typo
* fix
* again
* Fix npm publish again again (#4193 )
* ci typo
* fix
* again
* again
* Add format argument to Audio (#4178 )
* experimental
* Add test
* Rename to format
* Rename
* CHANGELOG
* Add to docstring
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* chore: update versions (#4188 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix npm publish again again (#4195 )
* ci typo
* fix
* again
* again
* again
* client docs tweaks (#4196 )
* ci typo
* fix
* again
* again
* again
* ignore workbench
* small tweaks for publish + docs
* Fix "TypeError: issubclass() arg 1 must be a class" When Optional args (#4200 )
* fix "issubclass() arg 1 must be a class" when args is Optional
* Update CHANGELOG.md
add fix "TypeError: issubclass() arg 1 must be a class" when use Optional args
* Update gradio/helpers.py
Co-authored-by: Aarni Koskela <akx@iki.fi>
* changelog
* formatting
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Aarni Koskela <akx@iki.fi>
* Fix semiver import (#4201 )
* fix token (#4208 )
* fix token
* add label
* Fix Explanation Regarding NumPy Image Component (#4204 )
* 20230513 swap np height and width in docs
* changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Correct stacklevel for check_deprecated_parameters (#4203 )
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Programmatically launch reload to allow factories and arguments to be passed to the app (#4119 )
* Programmatically lauch reload to allow factories and arguments to be passed to the app
* add warning
* modify warning
* guide fixes
* formatting
* changes
* warning
* import fix
* fix tests
* fix tests
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update CONTRIBUTING.md (#4220 )
* Input listener (#4157 )
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chnages
* fix
* changes
* changes
* merge
* changes
* restore
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Do not do any analytics requests if analytics are disabled (#4194 )
* Move analytics-related bits to gradio.analytics
* Do not do any analytics requests if analytics are disabled
* Remove unused log_feature_analytics
* removed redundant analytics, rewrote
* renamed
* save
* fixed test'
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Increase websocket messaging timeout (#4235 )
* increase websocket timeout
* changelog
* Fix for `typing.get_type_hints()` on Python 3.9 or lower (#4228 )
* fix
* fix docstring
* type hint fix
* fix test
* Update gradio/utils.py
Co-authored-by: Aarni Koskela <akx@iki.fi>
* fix indentation
---------
Co-authored-by: Aarni Koskela <akx@iki.fi>
* Some tweaks to the Client (#4230 )
* parameter names
* tweaks
* separate out serialize
* fix
* changelog
* fix
* fix
* improve test
* Only allow messaging update if analytics is enabled (#4236 )
* Only allow messaging update if analytics are allowed
Follows up on #4194
* Remove duplicate changelog entry
* remove circular import
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix client filepaths (#4202 )
* transform returned paths to useful URLs
* changeset
* update app
* revert
* revert
* changelog
* Update client/js/src/client.ts
Co-authored-by: aliabid94 <aabid94@gmail.com>
* format
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabid94 <aabid94@gmail.com>
* fix cancels (#4225 )
* fix cancels
* changelog
* refactor to make it work
* chore: update versions (#4207 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix publish (#4240 )
* fix npm publish
* fix npm publish
* release (#4219 )
Co-authored-by: pngwn <hello@pngwn.io>
* Fixes chatbot_dialogpt demo (#4238 )
* demo fix
* changelog
* fix
* demo
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix JSONDecodeError (#4241 )
* Fix JSONDecodeError bug (#4237 )
* Remove unused import
* Clean up code
* Fix JSONDecodeError (#4241 )
* Accept all Exceptions
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* make workbench private (#4247 )
* Refactoring (#4223 )
* Replace var with const in js/app/src/main.ts
* Remove unnecessary nullish coalescing in js/app/src/main.ts
* Remove unnecessary white spaces in the NPM scripts in js/app/package.json
* Use object key-value shorthand
* changelog
---------
Co-authored-by: pngwn <hello@pngwn.io>
* Move mount_css() from main.ts to css.ts (#4222 )
* Move mount_css() from main.ts to css.ts because these is a circular dependency between main.ts and Index.svelte (and it will help the development of the Wasm ver in the future)
* changelog
---------
Co-authored-by: pngwn <hello@pngwn.io>
* [create-pull-request] automated change (#4250 )
Co-authored-by: aliabd <aliabd@users.noreply.github.com>
* Fix run on click (#4258 )
* fix run on click
* changelog
* Upgrade black to 23.3 (#4259 )
* Upgrade black
* Conservatively upgrade packaging too since it's black's dependency
* Using marked for chatbot markdown parsing (#4150 )
* fix info request in js client (#4271 )
* fix info request in js client
* changelog
* Temp file fixes (#4256 )
* Fix bug
* Linting
* CHANGELOG
* Add tests
* Update test
* Fix remaining components + add tests
* Fix tests
* Fix tests
* Address comments
* Ensure error modal display as expected when using the queue (#4273 )
* Allow passing FastAPI app options (#4282 )
* App: don't force docs_url and redoc_url to None
* App.create_app: allow passing in app_kwargs
* start_server + launch: allow passing in app_kwargs
* Changelog
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Use .launch for tests
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Katex support in chatbot (#4285 )
* katex
* katex support
* changelog
* fixes
* pr fixes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Release 3.32.0 (#4293 )
* release 3.32.0
* changelog
* New Version Docs (#4296 )
* [create-pull-request] automated change
* Update v3.32.0_template.html
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Add overridden type annotations on `normalise_file()` to remove @ts-i… (#4315 )
* Add overridden type annotations on `normalise_file()` to remove @ts-ignore, and remove its unnecessary export
* changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
* typo (minor): extra newline puts the documentation of colums to grid (#4337 )
* typo (minor): extra newline puts the documentation of colums to grid
* edited changelog
* changelog
---------
Co-authored-by: thiswillbeyourgithub <github@32mail.33mail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* return a Dependency instance from Blocks.load event listener (#4304 )
* return a Dependency instance from Blocks.load event listener
* a test case for chaining then from load event
* update CHANGELOG
* add test for load.then with blocks re-used
* fixes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix typo in client/js/README.md (#4310 )
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* chore: update versions (#4283 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Optimize frontend's is_dep calls (#4334 )
* Optimize is_dep (36 to 12 msec)
* Call is_dep less (12 msec to 9 msec)
* Changelog
---------
Co-authored-by: pngwn <hello@pngwn.io>
* various client refactors + tweaks (#4357 )
* changeset
* Add a type annotation on the `api` variable to which the return value of `view_config()` is assigned, and update the type annotation and exception handling on `view_config` as well (#4311 )
* Remove unnecessary @ts-ignore (#4314 )
* Remove unnecessary Promise wrapping another promise (#4313 )
* Remove unnecessary Promise wrapping another promise
* Remove an error handeler that may remove detailed error stacks
* changeset
* remove changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
* Stop using `let` for unchanged variables in `client.ts` (#4312 )
* Stop using `let` for unchanged variables in `client.ts`
* fixes
---------
Co-authored-by: pngwn <hello@pngwn.io>
---------
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
* Remove a bunch of unused frontend code (#4275 )
Co-authored-by: pngwn <hello@pngwn.io>
* Respect `interactive=True` in output of `gr.Interface` (#4356 )
* tests
* changelog
* lint
* Update gradio/interface.py
Co-authored-by: Aarni Koskela <akx@iki.fi>
* format
---------
Co-authored-by: Aarni Koskela <akx@iki.fi>
* Don't allow dotfiles for /file= route (#4303 )
* Don't allow dotfiles or files in "dot directories" for /file=
* update guide
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Push to spaces (#4033 )
* changes
* first commit
* Update gradio/upload.py
Co-authored-by: Aarni Koskela <akx@iki.fi>
* Update gradio/upload.py
Co-authored-by: Aarni Koskela <akx@iki.fi>
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chnages
* changes
* changes
* changes
* changes
* Update 03_sharing-your-app.md
* changes
* changes
* change
* changes
* changes
* changes
* Update gradio/deploy_space.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
---------
Co-authored-by: Aarni Koskela <akx@iki.fi>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Do not send HF token to other domains via `/proxy` (#4368 )
* test
* fix
* changelog
* fix, add warnings
* Make chatbot input fields non-interactive while bot is streaming (#4363 )
* Add demo impl
* trigger then if generating
* remove unused value
* CHANGELOG
* Fix code
* Update guide
* Update guides/07_other-tutorials/creating-a-chatbot.md
Co-authored-by: pngwn <hello@pngwn.io>
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Prevent path traversal in `/file` routes (#4370 )
* add tests
* add tests
* file route fix
* update tests
* formatting
* file access
* cleanup
* cleaning
* fix tests
* Favicon fix for Windows (#4369 )
* favicon fix
* changelog
* svg
* remove favicon
* actual fix
* Add pypi classifiers to pyproject.toml (#4383 )
* Add pypi classifiers to pyproject.toml
* Add OS classifier
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* Use DOMPurify to sanitize html in chatbot (#4360 )
* dompurify
* changelog
* format
* clean
* changelog
* Update run.py
* update happy-dom
---------
Co-authored-by: pngwn <hello@pngwn.io>
* fix copy button invalid & copy button (invisible) duplication bug in chatbot (#4350 )
* fix a copy button duplication bug in chatbot
* fix copy button invalid issue
* Update CHANGELOG.md: Fixed Copy Button
* fix changelog typo
* switch to static HTML + event delegation for copy button
* fix
* format + notebooks
* format + notebooks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
* release 3.33.0 (#4392 )
Co-authored-by: aliabid94 <aabid94@gmail.com>
* Restore offline support (#4398 )
* changes
* changes
* changes
* New Version Docs (#4397 )
* [create-pull-request] automated change
* Update temporary_template.html
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix Base parent in Docs, add Group (#4391 )
* fix base parent
* add group to docs
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Remove old versioned docs and fix repo classification (#4362 )
* remove old versioned docs
* delete versioned docs when new one is created
* ignore website dir in linguist calc
* upload and download versioned docs
* modify github action
* remove gitattributes file
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update message when share link binary is blocked (#4380 )
* update share link message
* address suggestion
* changelog
* fix
* formatting
* Update utils.py for validate_url (#4388 )
* Update utils.py for validate_url
AWS s3 presigned url cannot work for both HEAD and GET. So when HEAD the presigned url, it will return 403(Forbidden)
* Update gradio/utils.py
* changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* v3.33.1 + Guide on setting up Gradio behind nginx... (#4379 )
* nginx guide
* delete 3.33.0
* version
* unindent
* Prevent label change event from triggering itself (#4371 )
* Fix the Node and pnpm setup actions (#4394 )
* Run `pnpm i` with pnpm@8.6.0 to re-generate the lock file (#4393 )
* fix indent (#4404 )
* Throttle scroll event (#4158 )
* Throttle scroll event
This decreases the amount of function calls when scrolling through the documentation website.
* fix themes base
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* merge
* fixes
* changes
* more changes
* notebook
* changelog
* error handle backend
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Adds `variant` and `interactive` props to `gr.UploadButton` (#4436 )
* upload button
* fix index
* changelog
* formatting
* cleanup
* fix get_continuous_fn bug when having every (#4434 )
* fix the bug for wrap continuous func with parameter every while origin func return generator
* Update utils.py
* Update CHANGELOG.md
* Update test_utils.py
* Update CHANGELOG.md
* formatting
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix Safari video playback (#4433 )
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* test fix
* test
* tests
* fix ui test
* format
* Increase version gradio-client version/changelog (#4441 )
* Increase version gradio-client version/changelog
* req
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fixes
* notebook
* fixed tests finally
* format
* python test fix
* test fix
* remove style from test
* Update CHANGELOG.md
* theme test fix
---------
Co-authored-by: Artemy Egorov <artegoser@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Lucain <lucainp@gmail.com>
Co-authored-by: testbot <lucainp@hf.co>
Co-authored-by: 1lint <105617163+1lint@users.noreply.github.com>
Co-authored-by: Aarni Koskela <akx@iki.fi>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: space-nuko <24979496+space-nuko@users.noreply.github.com>
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
Co-authored-by: Tom Aarsen <37621491+tomaarsen@users.noreply.github.com>
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: LingFeng.Chen.Cn <lingfeng.chen.cn@gmail.com>
Co-authored-by: Der Chien <b03902015@ntu.edu.tw>
Co-authored-by: Micky Brunetti <micky2be@users.noreply.github.com>
Co-authored-by: David Ai <davidai2018@gmail.com>
Co-authored-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
Co-authored-by: thiswillbeyourgithub <github@32mail.33mail.com>
Co-authored-by: Paul Garner <ego@anentropic.com>
Co-authored-by: WilliamRoyNelson <william.roy.nelson@gmail.com>
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com>
Co-authored-by: Yan <alvindaiyan@gmail.com>
Co-authored-by: Shavit <shavit@users.noreply.github.com>
Co-authored-by: dkjshk <xie0510@126.com>
2023-06-10 21:12:11 -04:00
aliabid94
ff6e676a92
Remove style parameter ( #4374 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* fixes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
2023-06-07 18:35:31 -07:00
Abubakar Abid
8617291049
Release v3.34.0 ( #4446 )
...
* version
* fix
* changes
* changes
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-06-07 17:28:15 -05:00
Aarni Koskela
0a6a80ce02
Remove a bunch of unused frontend code ( #4275 )
...
Co-authored-by: pngwn <hello@pngwn.io>
2023-05-30 12:02:04 +09:00
aliabid94
96b38fda07
Input listener ( #4157 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chnages
* fix
* changes
* changes
* merge
* changes
* restore
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-15 21:36:57 -04:00
aliabid94
8ba4cceaf9
Dispatch dropdown change on value change for any reason ( #4128 )
...
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-11 16:28:19 -05:00
space-nuko
fab7642414
Fix slider released event not triggering when released on mobile ( #4098 )
...
* Fix slider released event not triggering when released on mobile
* Update CHANGELOG
* fix range test
* retrigger
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-08 21:10:26 -05:00
Abubakar Abid
1f9584f9a7
Version 3.28.1 ( #4009 )
...
* changelog
* changelog
* Fix dropdown as output
---------
Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-04-28 17:43:04 -04:00
aliabid94
89dc35c97d
Fix dropdown default issue ( #3996 )
...
* change
* change
* test
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-28 14:58:22 -04:00
aliabid94
8a31766a0e
Fix faded textbox on iOS / Safari ( #3993 )
...
* change
* changes
* changes
* changes
* changes
* formatting
* fix
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-04-28 10:53:44 -04:00
space-nuko
30f4556927
More dropdown fixes ( #3705 )
...
* Fix several dropdown bugs
- Stop reopening when arrow is pressed
- Fix not opening when value text is clicked
- Being unable to filter in single-select mode
- Change color of filter text
- Clear filtering text when focus is lost
* Fix more dropdown issues
- Filter being focused but options not opening
- Make actions triggered on keydown instead of keyup (better responsiveness)
* Select dropdown element if exact match
* Pop last multiselect element if backspaced into
* Fix even more dropdown issues
- Override default input component up/down arrow key action
- Active option preventing arrow key movement if exact match
* Don't truncate dropdown options in X direction
* Format
* Update changelog
* Fix
* Requested changes
* changes
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-04-27 12:56:39 -04:00
Dawood Khan
ee78458c64
Fixes dropdown does not position itself at selected element when opened ( #3639 )
...
* fixes
* fix
* Update CHANGELOG.md
2023-04-25 09:12:38 -07:00
aliabid94
43680f1c7a
fix dropdowns, release 3.24 ( #3713 )
...
* changes
* changes
* Update version.txt
2023-03-30 16:38:08 -07:00
aliabid94
09aedce77c
Theme builder ( #3664 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* Update CHANGELOG.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/themes/builder.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-30 11:20:34 -07:00
space-nuko
cbb84927a7
Only give same values .selected class in gr.Dropdown ( #3644 )
...
* Only give same values .selected class in gr.Dropdown
* Update changelog
* Requested changes
* Format
* Update changelog
* isort
* Update js/form/src/DropdownOptions.svelte
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-03-29 23:10:43 +01:00
space-nuko
61b9a58175
Hide dropdown if in single-select mode ( #3678 )
...
* Hide dropdown if in single-select mode
* Update changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-28 19:21:51 -07:00
pngwn
ae4277a9a8
move files ( #3605 )
...
* move files
* commit the rest of the files
* fix lockfile
* fix workflow
* fix type errors
* fix tests
* only run ci when certain files change
* run correct test command in ci
* version
* fix pypi script
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-27 16:12:58 -07:00