Dawood Khan
7664bb57f5
Fixes chatbot_dialogpt demo ( #4238 )
...
* demo fix
* changelog
* fix
* demo
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-16 21:43:15 -04:00
pngwn
c3dadaebbe
fix cancels ( #4225 )
...
* fix cancels
* changelog
* refactor to make it work
2023-05-16 22:37:28 +01: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
Tom Aarsen
02bd90d7c1
[Docs] Resolve numerous typos ( #4170 )
...
* Resolve numerous typos
* Delete test.py
* Run generate_notebooks
* notebooks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-11 15:20:41 -05:00
Abubakar Abid
2be3ea1cc7
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
2023-05-01 23:59:31 -05:00
aliabid94
2f8b9f8b03
UI fixes for themes ( #3590 )
...
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-28 14:31:41 -04:00
Greysuki
1439b72f66
UI stuck caused by the 'selected' of DataFrame not being reset ( #3916 )
...
* dataframe error fix
* changelog
* demo launch fix
2023-04-20 10:27:52 -04:00
Simon Duerr
6e7abf8645
make use of gr. consistent ( #3901 )
...
* make use of gr. consistent
* add changelog
* Update CHANGELOG.md
* fix digit_classifier notebook
* lint
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-04-19 15:55:37 -04:00
Abubakar Abid
7a04ebe7fd
Fix some documentation-related issues in Guides ( #3903 )
...
* client doc fixes
* simplify demo
* added guides
* chatbot guide
* notebooks
* format
2023-04-19 14:38:11 -04:00
Ali Abdalla
69e915832a
Add DESCRIPTION.md to image_segmentation demo ( #3866 )
...
* add description.md to image_seg
* changelog
2023-04-14 21:35:25 -07:00
aliabid94
1b4925712b
HighlightedImage component ( #3836 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* rename
* changes
* changes
* changes
* changes
* Update CHANGELOG.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* change
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-14 13:11:27 -07:00
Abubakar Abid
d3b7f73bcf
Update view api page to use Python client ( #3765 )
...
* Update view api page
* simplify
* update
* changes
* changes
* updated info
* formatting
* changes
* fixes
* save
* moved
* remove test input
* tweaks
* formatting
* add raw
* serialize
* fixes
* refactor
* fixes
* fixes
* Fetch api
* lower case
* view api
* fix tests
* format
* rough design
* readme
* api docs
* examples
* format
* formatting
* format
* version
* client changes
* formatting
* update client
* more example inputs
* api docs fixes
* remove notebook
* fix demo
* demo notebook
* styling on code snippet
* formatting
* fix audio, model3d
* format
* fix tests
* version
* cleanup
* format
* format
* format
* fixes
* version
* fix tests
* version
* format
* test
* format
* changelog
* changelog
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-04-13 16:20:33 -07:00
Greysuki
54af6ae290
Adding subtitles to gr.Video
( #3673 )
...
* v2 version now accepts video and subtitle format inputs.
* remove debug log and some format issue
* Update CHANGELOG.md
* Upload components.py and regenerate demo
* fix components and add comment to function
* fix postprocess return format
* changelog
* demo change to gr.Interface type
* fix file_types
* fixes
* added video serializer
* clean up preprocess
* clean up postprocess
* formatting
* frontend
* fixed serialization
* dataclass
* fix serialize
* version
* fix tests
* version
* changelog
* typing
* version
* changelog
* version
* versin
* fix tests
* fix tests
* backend
* test
* changes
* relax test
* fix demo
* notebook
* changes
* fix
* changes
* Update gradio/components.py
* Update client/python/gradio_client/client.py
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-04-11 16:06:48 -07:00
aliabid94
379b6f662e
Get Image click coordinates from .select
( #3786 )
...
* changes
* changes
* fix demo notebook
* changes
* changes
* chagnes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-10 14:47:33 -07:00
Dawood Khan
88a487c07c
Add styles to gallery component ( #3586 )
...
* update gallery styles
* Set theme name from load (#3595 )
* Add name + test
* Add theme names
* CHANGELOG
* Delete theme in interface
* Trigger event when Slider number input is released (#3589 )
* Add event
* Add unit test
* CHANGELOG
* Sets up the Python `gradio` client (#3300 )
* placeholder
* changelog
* added to readme
* client
* implement futures
* utils
* scripts
* lint
* reorg
* scripts
* serialization
* cleanup
* fns
* serialize
* cache
* callbacks
* updates
* formatting
* packaging
* requirements
* remove changelog
* client
* access token
* formatting
* deprecate
* format backend
* client replace
* updates
* moving from utils
* remove code duplication
* rm duplicates
* simplify
* galleryserializer
* serializable
* load serializers
* fixing errors
* errors
* typing
* tests
* changelog
* lint
* fix lint
* fixing files
* formatting
* type
* fix type checking
* changelog
* changelog
* Update client/python/gradio_client/client.py
Co-authored-by: Lucain <lucainp@gmail.com>
* formatting, tests
* formatting, tests
* gr.load
* refactoring
* refactoring'
* formatting
* formatting
* tests
* tests
* fix tests
* cleanup
* added tests
* adding scripts
* formatting
* address review comments
* readme
* serialize info
* remove from changelog
* version 0.0.2 released
* lint
* type fix
* check
* type issues
* hf_token
* update hf token
* telemetry
* docs, circle dependency
* hf token
* formatting
* updates
* sort
* script
* external
* docs
* formatting
* fixes
* scripts
* requirements
* fix tests
* context
* changes
* formatting
* fixes
* format fix
---------
Co-authored-by: Lucain <lucainp@gmail.com>
* Translate "or" for i18n (#3599 )
* Translate or for i18n
* CHANGELOG
* Fixes Blocks exit issue (#3600 )
* fix
* changelog
* blocks
* formatting
* Use gradio-api-server for telemetry (#3488 )
* analytics
* changelog
* remove interface analytics
* ip
* remove import
* format
* theme name
* theme analytics
* format
* changelog
* fixes
* format
* remove unused param
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Simplify tests (#3608 )
* simplify tests
* imports
* imports
* formatting
* removed cometml typing
* simplify
* changelog
* fix wc error in dev mode (#3572 )
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* A few small fixes to docs / demos (#3611 )
* fixes
* remove binaries
* doc
* changelog
* typing
* run on windows
* cancels
* added clarifications
* Add docs for HF Json saver (#3604 )
* Add docs for flagging
* Fix params
* CHANGELOG
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
* ensure css loads before mounting app (#3573 )
* ensure css loads before mounting app
* changelog
* fix tests
* change?
* changelog
* fix issue with missing version (#3632 )
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* Fixes chatbot autoscroll + Textbox lines > 20 issue (#3637 )
* fixes
* changelog
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix embedded demos (#3638 )
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Add Windows CI (#3628 )
* Add Windows CI
* Update changelog
* fix
* Skip one test on Windows
* Preserve virtualenv path
* Skip another test on Windows
* Make conditional flaky
* Requested changes
* consistent os
* cleanup
* fix test for windows
* remove unnecessary check
* lint
* lint
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* 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>
* Support empty lists being used in `gr.Dataframe` (#3646 )
* Support empty lists being used in `gr.Dataframe`
* Update changelog
* Add empty dataframe test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix windows flake (#3650 )
* fix windows flake
* format backend
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* Raise errror if event queued but queue is not enabled (#3640 )
* Raise Error
* CHANGELOG
* Add progress tracking validate_queue_settings
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Copy everything in website Dockerfile, fix build issues (#3659 )
* dockerfile
* copy everything from repo
* correct dir
* changelog
* Correct the documentation of `gr.File` component (#3660 )
This closes #3658 .
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Nit in ValueError (#3669 )
* Nit in ValueError
* CHANGELOG
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
* Load upstream theme (#3641 )
* theme loading
* upstream theme
* version
* format themes
* fixes
* tests
* one more test
* fix test
* address review
* Add job for python client ci (#3674 )
* Add job + lint
* Fix path
* Fix path
* Fix path
* Checkout
* Add test requirements
* Fix syntax
* Fix test
* Lint
* Fix deps + README
* Move dependency
* 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>
* Fix default parameters value and gr.Progress in same function (#3671 )
* Fix default parameters value and gr.Progress in same function
* Update changelog
* Fix tests
* Format
* Expand tests for other types of special function arguments
* Augment SelectData tests
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* warning
* changelog
* ghangelog
* changelog
* object fit optional
* Add status for Python Client Jobs (#3645 )
* Add status + unit test (flaky) for now
* Install client
* Fix tests
* Lint backend + tests
* Add non-queue test
* Fix name
* Use lock instead
* Add simplify implementation + fix tests
* Restore changes to scripts
* Fix README typo
* Fix CI
* Add two concurrent test
* Fix broken spaces in docs (#3698 )
* fix examples in sentence_builder
* fix sklearn error in titanic demo
* regenerate notebooks
* changelgo
* Add download button for video (#3581 )
* Add download buttom
* Add missing imports
* CHANGELOG
* Update CHANGELOG.md
* Trigger CI
* Fix visibility
* Try to fix ci
* Fix deps
* download button change
* Lint
---------
Co-authored-by: Dawood <dawoodkhan82@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix outdated sharing your app guide (#3699 )
* fix embed this space screenshot
* fix use via api
* changelog
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* Add orig_name field to video outputs (#3700 )
* Add orig_name to video
* Fix test
* CHANGELOG
* Lint
* 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>
* fix dropdowns, release 3.24 (#3713 )
* changes
* changes
* Update version.txt
* New Version Docs (#3715 )
* [create-pull-request] automated change
* fix changelog
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix chatbot newline issue (#3717 )
* changes
* changes
* changes
* changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* New Version Docs (#3720 )
* [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 Serializer Mapping (#3722 )
* Fix mapping and test
* Bump gradio version
* Revert gradio version bump
* Fix some bugs related to Python client (#3721 )
* client format
* docs
* formatting
* fix tests
* fixed bug
* api endpoint changes
* fix tests
* fix tests
* formatting
* Add support for sessions [python client] (#3731 )
* client
* add state and tests
* remove session param
* node support for js client (#3692 )
* bundle js client + gen types
* changeset
* changeset
* fix bugs
* fix deps
* fix deps
* format
* fix ci
* fix types
* Support IPv6 addresses for --server-name (#3695 )
* Support IPv6 addresses for --server-name
* Update changelog now that I have a PR number.
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
* Increase timeout for analytics request + remove exception print (#3647 )
* increase timeout
* merge
* Add changelog
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* Switch linting to Ruff (#3710 )
* Sort requirements.in
* Switch flake8 + isort to ruff
* Apply ruff import order fixes
* Fix ruff complaints in demo/
* Fix ruff complaints in test/
* Use `x is not y`, not `not x is y`
* Remove unused listdir from website generator
* Clean up duplicate dict keys
* Add changelog entry
* Clean up unused imports (except in gradio/__init__.py)
* add space
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix missing docstrings (new PR) (#3740 )
* Move documentation for _js into docstring, not a stray comment
* Add missing argument docstrings (and remove non-existent ones)
* Add changelog entry
* updated docstrings
* changelog
* contributors
* changelog
* formatting
* removed _js
---------
Co-authored-by: Aarni Koskela <akx@iki.fi>
* import (#3742 )
* Import Literal from typing extensions in client (#3741 )
* Fix typing extensions
* Import typing_extensions
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Access http token for ws connection (#3735 )
* Access unsecure token
* CHANGELOG
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Add root_url to serializers in gradio_client (#3736 )
* Add root_url to serializers
* Add url fix
* Respect fn parameter
* Fix docstring
* Add other test
* Pass to method
* CI tweaks (#3752 )
* Adds a pypi release action for the gradio python client (#3743 )
* release action
* fixes
* name
* Update version.txt
* Update version.txt
* update
* fixes
* version
* rename
* action
* fix token
* custom dir
* fixes
* change password
* revert back to token
* scripts
* remove twine
* Get Intermediate Results from Python Client (#3694 )
* Add status + unit test (flaky) for now
* Install client
* Fix tests
* Lint backend + tests
* Add non-queue test
* Fix name
* Use lock instead
* Add simplify implementation + fix tests
* Restore changes to scripts
* Fix README typo
* Fix CI
* Add intermediate results to python client
* Type check
* Typecheck again
* Catch exception:
* Thinking
* Dont read generator from config
* add no queue test
* Remove unused method
* Fix types
* Remove breakpoint
* Fix code
* Fix test
* Fix tests
* Unpack list
* Add docstring
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes (#3760 )
* Make Client Jobs Iterable (#3762 )
* Add iterator
* Break if done
* Add test for early termination
* changelog
* notebooks
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Lucain <lucainp@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: space-nuko <24979496+space-nuko@users.noreply.github.com>
Co-authored-by: Luo Peng <luopeng.he@gmail.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: Dan Sully <dan+github@sully.org>
Co-authored-by: Aarni Koskela <akx@iki.fi>
2023-04-06 09:38:25 -07:00
Aarni Koskela
ef3862e075
Switch linting to Ruff ( #3710 )
...
* Sort requirements.in
* Switch flake8 + isort to ruff
* Apply ruff import order fixes
* Fix ruff complaints in demo/
* Fix ruff complaints in test/
* Use `x is not y`, not `not x is y`
* Remove unused listdir from website generator
* Clean up duplicate dict keys
* Add changelog entry
* Clean up unused imports (except in gradio/__init__.py)
* add space
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-03 15:48:18 -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
Ali Abdalla
3aa189c678
Fix broken spaces in docs ( #3698 )
...
* fix examples in sentence_builder
* fix sklearn error in titanic demo
* regenerate notebooks
* changelgo
2023-03-29 16:03:22 -07:00
pngwn
0d9a08bf64
ensure css loads before mounting app ( #3573 )
...
* ensure css loads before mounting app
* changelog
* fix tests
* change?
* changelog
2023-03-27 15:52:07 +01:00
Abubakar Abid
c9b8a0c484
A few small fixes to docs / demos ( #3611 )
...
* fixes
* remove binaries
* doc
* changelog
* typing
* run on windows
* cancels
* added clarifications
2023-03-24 16:28:38 -07:00
Abubakar Abid
6e6121a1ac
Sets up the Python gradio
client ( #3300 )
...
* placeholder
* changelog
* added to readme
* client
* implement futures
* utils
* scripts
* lint
* reorg
* scripts
* serialization
* cleanup
* fns
* serialize
* cache
* callbacks
* updates
* formatting
* packaging
* requirements
* remove changelog
* client
* access token
* formatting
* deprecate
* format backend
* client replace
* updates
* moving from utils
* remove code duplication
* rm duplicates
* simplify
* galleryserializer
* serializable
* load serializers
* fixing errors
* errors
* typing
* tests
* changelog
* lint
* fix lint
* fixing files
* formatting
* type
* fix type checking
* changelog
* changelog
* Update client/python/gradio_client/client.py
Co-authored-by: Lucain <lucainp@gmail.com>
* formatting, tests
* formatting, tests
* gr.load
* refactoring
* refactoring'
* formatting
* formatting
* tests
* tests
* fix tests
* cleanup
* added tests
* adding scripts
* formatting
* address review comments
* readme
* serialize info
* remove from changelog
* version 0.0.2 released
* lint
* type fix
* check
* type issues
* hf_token
* update hf token
* telemetry
* docs, circle dependency
* hf token
* formatting
* updates
* sort
* script
* external
* docs
* formatting
* fixes
* scripts
* requirements
* fix tests
* context
* changes
* formatting
* fixes
* format fix
---------
Co-authored-by: Lucain <lucainp@gmail.com>
2023-03-23 15:33:44 -07:00
Abubakar Abid
88afd684be
Makes some fixes related to TempFiles ( #3523 )
...
* temp file fixes
* changes
* fixing tests
* formatting
* fix
* fix chatbot processing
* tests
* get tests to pass
* fix code demo
* changelog
* fix multimodal
2023-03-21 09:37:24 -07:00
Freddy Boulton
9d159be249
Add missing demos for Code and Barplot ( #3550 )
...
* Add missing demos
* Add code
* Linting
* Format notebook
* Remove extra print
* Update demo/barplot_component/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix code component formatting
* Fix barplot
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-20 19:16:18 -04:00
Abubakar Abid
d0ec3d97f2
Iframes guides and fixes theme_new_step_3\run.py
( #3506 )
...
* seafoam
* theme
* save
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/06_other-tutorials/theming-guide.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
---------
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-03-18 15:19:43 -07:00
aliabid94
8114202697
Use soft theme instead of glass theme in demo ( #3503 )
...
* changes
* changes
* changes
* changes
* changes
* Update gradio/themes/base.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/themes/base.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* changes
* changes
* undo merge break
* changes
* changes
* changes
* fix
* theme_to_soft
* changes
* formatting
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-18 13:07:23 -07:00
Abubakar Abid
de3254fd08
Theme+release ( #3494 )
...
* changes
* changes
* changes
* changes
* changes
* Update gradio/themes/base.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/themes/base.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/06_theming-guide
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* save file
* update changelog
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-03-17 07:41:53 -07:00
Abubakar Abid
eb101c428f
Adds copy button to textbox via .style()
( #3452 )
...
* add copy to textbox
* changelog
* formatting, docstring
* changes
* formatting
* demo
* cleanup
* copy button
2023-03-15 16:45:45 -07:00
aliabid94
373c8dd716
Add elem classes ( #3466 )
...
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-15 14:01:53 -07:00
Radamés Ajna
226e87cd54
implement missing methods handle nested dict ( #3459 )
...
* implement missing methods handle nested dict
test for get 'user-agent'
extra example for gr.Requests
* missing notebook example
* add missing attributes, keys, values, items
* update changelog
* fix changelog
2023-03-14 15:15:12 -07:00
aliabid94
95bf08b2e2
Adding the .select event listener ( #3399 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changs
* changes
* changes
* changes
* changes
* changes
* changes
* preview
* fix notebook
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* Add type hints (#3403 )
Co-authored-by: aliabid94 <aabid94@gmail.com>
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* Update gradio/helpers.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* doc update
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-03-13 17:12:41 -07:00
Dawood Khan
f8159aa5f4
Making the chatbot even more multimodal ( #3413 )
...
* multimodal chatbot
* notebook
* fix tests
* Update demo/chatbot_multimodal/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix notebook
* changelog
* Update CHANGELOG.md
* Update gradio/components.py
* Update gradio/components.py
* Update gradio/components.py
* fixing security issue
* updating demo
* formatting
* demo notebooks
* changes
* typing
* changes
* changes
* changes
* add test
* fixes
* renaming demos
* fixed demo
* fixes
* fix demos
* chatbot
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-03-13 07:21:03 -07:00
aliabid94
092b7448e6
consecutive triggers with .then
( #3430 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* Update guides/03_building-with-blocks/01_blocks-and-event-listeners.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/chatbot_simple_demo/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/chatbot_simple_demo/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* allow nest
* changes
* changes
* changes
* changes
* changes
* events
* formatting
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-11 20:38:22 -08:00
pngwn
11bb732f5d
add code component ( #3421 )
...
* add code component
* changes
* changes
* code
* add code to all_demos
* change remove prefix
* changes
* notebooks
* fix pythong types
* changelog
* cleanup
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* add interactive kwarg
* fix focus
* changelog
* fix demo
* tests
* cleanup
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* change padding to compute from block label styles
* use neutral colours for sucess animation
* cleanup
* update document
* add changelog for fix
* fix documentation
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-10 17:52:17 +00:00
Ali Abdalla
a5e3be71ba
Fix markdown embedded component in docs ( #3410 )
...
* revert to old md component demo
* changelog
2023-03-07 14:15:03 -08:00
pngwn
fddf376784
JS client take 2 ( #3388 )
...
* start
* change api
* integrate into gradio
* log
* try this
* format
* changes
* format
* fix css
* fix file
2023-03-07 16:36:25 +00:00
aliabid94
608d3b6250
Python backend to theming ( #2931 )
...
* add theme + theme atoms
* audio
* buttons
* chatbot
* forms
* start file
* complete file
* fixup workbench
* gallery
* highlighted text
* label
* json
* upload
* 3d model
* atoms
* chart
* md + html
* image
* plot + build
* table
* tabs
* tooltip
* upload
* tweaks
* tweaks + more tooling
* tweaks to padding/ lineheight
* app components _ start api docs
* format, more api docs
* finish api docs
* interpretation
* todos
* tweaks + cleanup
* tweaks + cleanup
* revert range tweaks
* fix notebooks
* fix test
* remove tw
* cleanup + login
* fix gitignore
* fix types
* run css script
* fix progress + tweaks
* update demos
* add css build to static check workflow
* tweak ci
* fix tests
* tweak markdown
* tweak chatbot + file
* fix tabs
* tweak tabs
* cleanup
* fix api docs
* fix example gallery
* add gradient to toast
* fix min height for interfaces
* revert tab changes
* update notebooks
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* fix
* changes
* changes
* changes
* changes
* changes
* changes
* undo radius
* undo radius
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* undo
* Add absolute imports
* mock theme in tests
* clean
* changes
* changes
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-06 12:52:31 -08:00
Dawood Khan
a2076441e2
Chatbot height kwarg ( #3369 )
...
* height
* height
* changelog
* fixes
* merge
* Fix File updating (#3375 )
* Fix
* Remove line
* Add unit test
* CHANGELOG
* Remove comment
* fixes
* Release 3.20.0 (#3374 )
* release-3.20.0
* update changelog
* New Version Docs (#3376 )
* [create-pull-request] automated change
* empty commit
* [create-pull-request] automated change
* empty commit
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* notebook
* changelog
* changelog
* format
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-03-06 10:12:39 -08:00
pngwn
fc39cbdd9b
ensure image is always drawn ( #3386 )
...
* ensure image is always drawn
* fix demo
* notebooks
* clean
2023-03-06 16:04:42 +00:00
aliabid94
02fb8f5a1f
Updated chat ui ( #3370 )
...
* test
* changes
* chagnes
* changes
* changes
* changes
* changes
* Update CHANGELOG.md
* changes
* Update demo/chatbot_multimodal/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/chatbot_simple_demo/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-03 18:17:48 -08:00
Jialei
be4ca360ca
Fix error when using backen_fn and custom js at the same time ( #3358 )
...
* Fix error when using backen_fn and custom js at the same time
* generate notebooks
* update changelog
* changes
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-03-03 14:37:05 -05:00
Freddy Boulton
d8023d455f
Add event that's triggered when slider is released ( #3353 )
...
* Add code
* Add unit test
* CHANGELOG + notebook format
* Clean up
* Remove comment
2023-03-02 21:29:49 -05:00
pngwn
5c01a029ce
resize image when shape is passed ( #3351 )
...
* resize image when shape is passed
* changelog
* cleanup
* handle square images + refactor
* leftover
2023-03-01 23:47:15 +00:00
Dawood Khan
f36211050c
Dropdown Component Updates ( #3211 )
...
* dropdown
* more dropdown updates
* dropdown styling + option visibility
* changelog
* notebook
* fix test
* Allow more image formats (#3225 )
* add wildcard to image input
* simplify mime types
* changelog
* regen noteboks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
* fix webcam mirroring (#3245 )
* fix webcam
* changelog
* fix changelog
* fix changelog
* fix changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Add `interactive=False` mode to `gr.Button` (#3266 )
* add interactive=False to button
* add interactive=True by default
* changelog
* fix frontend
* fix backend test
* formatting
* review changes
* LaTeX height fix (#3258 )
* latex height fix
* changelog
* formatting
* em
* em
* accidentally added script (#3273 )
* Adding a script to benchmark the queue (#3272 )
* added benchmark queue script
* changelg
* fix instructions
* Fix matplotlib image size (#3274 )
* Fix matplotlib css
* CHANGELOG
* Undo lockfile
* Add timeouts to queue messages (#3196 )
* Fix + test
* Remove print statements + fix import for 3.7
* CHANGELOG
* Remove more print statements
* Add 60 second timeout for uploading data
* Fix test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* icons
* separate options into component
* formatting
* changelog
* changelog
* fix ui tests
* formatting again...
* backend test fix
* format
* doc fixes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: fienestar <fienestar@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-02-23 16:32:18 -05:00
pngwn
372a3cca2f
3248 image ( #3277 )
2023-02-23 08:46:44 +00:00
aliabid94
9c811ed892
Add info= parameter to form type inputs to provide more context for users ( #3291 )
...
* changes
* changes
* changes
* changes
* changes
* changes
2023-02-22 15:16:15 -08:00
fienestar
e536227615
Allow more image formats ( #3225 )
...
* add wildcard to image input
* simplify mime types
* changelog
* regen noteboks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-02-21 11:50:44 +00:00
pngwn
4fd2ae081c
3229 styling ( #3233 )
...
* ensure latex css is applied
* remove z-index on error status
* changelog
* formatting
* more styling fixes + adjust error message for non space
* simplify test
* simplify test
* update notebook
* pinning mdit-py-plugins
* missed a thing
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-19 15:16:08 +00:00
Abubakar Abid
56245276e7
Added diffusers demo with batching & some misc improvements to doc ( #3224 )
...
* added diffusers demo
* guide updates
* changelog
* update demo
* notebook
2023-02-17 18:53:21 -06:00
aliabid94
f34120c077
Support large files try 2 ( #3191 )
...
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chagnes
* changes
* changes
* changes
* changes
* changes
* changes
* chnages
* changes
* changes
* merge
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-17 15:31:02 -08:00
Freddy Boulton
3530a86433
Fix bokeh Plots ( #3212 )
...
* Add implementation
* Simpler approach
* Fix extra updates
* Fix python tests
* CHANGELOG + add bokeh plot demo
* Center content
* Fix value=bokeh case
* Add image to changelog
* Add notebook file
* Undo accidental changes
* Add missing plot type
* Fix type hints
* Fix requirements
* Lint
* Fix requirements
* remove lorenz
* Fix notebooks
* Remove bokeh demo
* Fix plot
* Don't use beforeUpdate
* FIx demo: Add load_event + bump bokeh>3.0
* Only load bokeh if needed
* Fix tests
* lint
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-17 16:47:06 -05:00