Abubakar Abid
38c64a5b0e
More typing! ( #2906 )
...
* started pathlib
* blocks.py
* more changes
* fixes
* typing
* formatting
* typing
* renaming files
* changelog
* script
* changelog
* lint
* routes
* renamed
* state
* formatting
* state
* type check script
* remove strictness
* switched to pyright
* switched to pyright
* fixed flaky tests
* fixed test xray
* fixed load test
* fixed blocks tests
* formatting
* fixed components test
* uncomment tests
* fixed interpretation tests
* formatting
* last tests hopefully
* argh lint
* component
* fixed based on review
* refactor
* components.py t yping
* components.py
* formatting
* lint script
* merge
* merge
* lint
* pathlib
* lint
* events too
* lint script
* fixing tests
* lint
* examples
* serializing
* more files
* formatting
* flagging.py
* added to lint script
* fixed tab
* interface.py
* attempt fix
* refactoring interface
* interface refactor
* formatting
* fix for live interfaces
* lint
* mix
* mix
* serialize fix
* formatting
* all demos queue
* networking
* added type check
* processing_utils
* more typing
* formatting
* type ignored processing utils
* s
* tunneling
* add interpretation
* more typing
* queuing
* serializing
* undo interpretation
* routes.py
* formatting
* component type
* addressed review
* lint
* typing
* documentation
* fixing pydantic
* routes
* fixed typing in routes
* fix tests
2023-01-03 13:13:11 -05:00
Pradyumna Rahul
6a6e9175e1
Updating typing in utils.py
and templates.py
( #2904 )
...
* typing
* typing
* typing
* updated CHANGELOG.md
* typing
* typing
* typing
* typing
* Update max_args count to be -1 if positional param type
max_args would be set to the value of "infinity" when the param was of VAR_POSITIONAL type. That makes max_args hold both int and string values.
Updated the max_args to be set to -1 value.
* Updated to use same response and not previous response for validation
* Keep self._response uninitialized
* Updated to use empty BaseModel when not validation_model not present
* Reference `BlockContext` directly
* initializing end as 0 in format_net_list
* Updating docs for error_analytics
* Update file version check in utils
* Update gradio.strings import
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* Add utils.py and templates.py to type check script
* fixed changelog
* Update formatting of utils.py
* rerun ci
* flagging fix
* fix typing
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-03 12:20:02 -05:00
Ali Abdalla
d77b0702d1
Add a components - events matrix on the docs ( #2921 )
...
* add components events matrix
* changelog
2023-01-03 17:45:09 +02:00
aliabid94
58b1a074ba
Add Progress Bar component ( #2750 )
...
* changes
* version
* changes
* fixes
* changes
* changes
* changes
* changes
* chagnes
* chagnes
* fix
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* version update
* Commit from GitHub Actions (Upload Python Package)
* changes
* changes
* changes
* fix
* changes
* changes
* changes
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* changes
* changes
* changes
* changes
* change
* changes
* Update guides/01_getting_started/02_key_features.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/helpers.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/routes.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/helpers.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/01_getting_started/02_key_features.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/01_getting_started/02_key_features.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/progress_simple/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/progress_simple/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/progress_simple/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update website/homepage/src/docs/template.html
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update website/homepage/src/docs/template.html
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* change
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: GH ACTIONS <aliabid94@users.noreply.github.com>
2022-12-30 11:45:54 -08:00
Abubakar Abid
d46f0cd1ed
Refactored interface.py
( #2902 )
...
* started pathlib
* blocks.py
* more changes
* fixes
* typing
* formatting
* typing
* renaming files
* changelog
* script
* changelog
* lint
* routes
* renamed
* state
* formatting
* state
* type check script
* remove strictness
* switched to pyright
* switched to pyright
* fixed flaky tests
* fixed test xray
* fixed load test
* fixed blocks tests
* formatting
* fixed components test
* uncomment tests
* fixed interpretation tests
* formatting
* last tests hopefully
* argh lint
* component
* fixed based on review
* refactor
* components.py t yping
* components.py
* formatting
* lint script
* merge
* merge
* lint
* pathlib
* lint
* events too
* lint script
* fixing tests
* lint
* examples
* serializing
* more files
* formatting
* flagging.py
* added to lint script
* fixed tab
* interface.py
* attempt fix
* refactoring interface
* interface refactor
* formatting
* fix for live interfaces
* lint
* serialize fix
* formatting
* all demos queue
* added type check
* formatting
2022-12-29 15:30:44 -05:00
Abubakar Abid
5310782ed9
Added typing to even more files ( #2900 )
...
* started pathlib
* blocks.py
* more changes
* fixes
* typing
* formatting
* typing
* renaming files
* changelog
* script
* changelog
* lint
* routes
* renamed
* state
* formatting
* state
* type check script
* remove strictness
* switched to pyright
* switched to pyright
* fixed flaky tests
* fixed test xray
* fixed load test
* fixed blocks tests
* formatting
* fixed components test
* uncomment tests
* fixed interpretation tests
* formatting
* last tests hopefully
* argh lint
* component
* fixed based on review
* refactor
* components.py t yping
* components.py
* formatting
* lint script
* merge
* merge
* lint
* pathlib
* lint
* events too
* lint script
* fixing tests
* lint
* examples
* serializing
* more files
* formatting
* flagging.py
* added to lint script
* fixed tab
* attempt fix
* serialize fix
* formatting
* all demos queue
* addressed review comments
* formatting
2022-12-29 15:18:19 -05:00
Abubakar Abid
09ebf00332
Timeseries hotfix ( #2905 )
...
* time series hotfix
* formatting
* formatting
2022-12-29 14:21:29 -05:00
Abubakar Abid
a3d0fcfab1
Added typing to more files ( #2896 )
...
* started pathlib
* blocks.py
* more changes
* fixes
* typing
* formatting
* typing
* renaming files
* changelog
* script
* changelog
* lint
* routes
* renamed
* state
* formatting
* state
* type check script
* remove strictness
* switched to pyright
* switched to pyright
* fixed flaky tests
* fixed test xray
* fixed load test
* fixed blocks tests
* formatting
* fixed components test
* uncomment tests
* fixed interpretation tests
* formatting
* last tests hopefully
* argh lint
* component
* fixed based on review
* refactor
* components.py t yping
* components.py
* formatting
* lint script
* merge
* merge
* lint
* pathlib
* lint
* events too
* lint script
* fixing tests
* lint
2022-12-29 12:33:12 -05:00
Felix Dombek
5c108458aa
Fix "audio used before assigned" bug ( #2898 )
...
* Fix "audio used before assigned" bug
audio_from_file did not correctly handle the case where the file cannot be opened. This PR fixes e.g. the crash mentioned in [TheAlly's Riffusion tutorial](https://theally.notion.site/theally/Quick-n-Dirty-Riffusion-txt2audio-Tutorial-18e57df9ef214c3280efc5998bbf774d ).
* Update CHANGELOG.md
* Output helpful message about ffprobe
* Output error message
* Raise chained RuntimeError with full description
* Fix indentation
* Fixed spacing
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2022-12-29 09:06:18 -05:00
Ali Abdalla
d934828a7c
Excluding untracked files from demo notebook check action ( #2897 )
...
* excluding untracked files from wget
* changelog
2022-12-28 16:40:03 +04:00
Abubakar Abid
9cce57e14d
isort
2022-12-27 19:23:53 -05:00
Abubakar Abid
de0c41c1c4
Enforcing typing in blocks.py
and context.py
( #2887 )
...
* started pathlib
* blocks.py
* more changes
* fixes
* typing
* formatting
* typing
* renaming files
* changelog
* script
* changelog
* lint
* routes
* renamed
* state
* formatting
* state
* type check script
* remove strictness
* switched to pyright
* switched to pyright
* fixed flaky tests
* fixed test xray
* fixed load test
* fixed blocks tests
* formatting
* fixed components test
* uncomment tests
* fixed interpretation tests
* formatting
* last tests hopefully
* argh lint
* component
* fixed based on review
* refactor
2022-12-27 16:54:47 -05:00
Freddy Boulton
e7cca92831
Fix blocks_style demo ( #2890 )
...
* Fix blocks_style demo
* Add changelog
* Fix API + notebook
* Remove nested column
* moved highlighttext colormap to style
* Add back container
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-27 11:51:08 -05:00
Abubakar Abid
e3434dd4cb
Add reference to Gradio Discord bot to README ( #2891 )
...
* Add reference to Gradio Discord bot to README
* Update README.md
2022-12-27 11:25:17 -05:00
Freddy Boulton
6b77ea07d3
Fix bug displaying dataframe examples in csv/tsv files ( #2877 )
...
* Use loaded value for dataframe preview
* Add to CHANGELOG
* Changelog
2022-12-27 10:48:32 -05:00
Jay Smith
571e5eb66c
Correct message when is_generating hits 500 code ( #2889 )
2022-12-27 10:31:27 -05:00
Mohamed Rashad
21820f47ab
Add title to TabbedInterface
( #2888 )
...
* Add title to `TabbedInterface`
* Add title to the header of interface
* Add the new title feature to changelog
2022-12-26 19:52:33 -05:00
Abubakar Abid
88c9206159
Hotfix for tests related to #2721 ( #2886 )
...
* fixes
* formatting
2022-12-26 14:53:07 -05:00
Jean Ribeiro
24f413c4b3
enhancement: record audio and video from webcam simultaneously ( #2721 )
...
* Recording Audio and Video from webcam simultaneously
* Add include_audio option in Video component
* Update gradio/components.py
Co-authored-by: pngwn <hello@pngwn.io>
* Update CHANGELOG.md
Co-authored-by: pngwn <hello@pngwn.io>
* updated include_audio default behavior
Co-authored-by: Mandar Gogate <9411881+MandarGogate@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2022-12-26 13:56:17 -05:00
Abubakar Abid
066adf1a9d
Google Sheets + LinePlot Guide ( #2816 )
...
* draft
* guide
* add guide
* changelog
* changelog
* addressed comments
2022-12-23 10:40:52 -06:00
Freddy Boulton
1765cf68ae
Make it so that default_enabled has no impact on queue behavior ( #2876 )
...
* Deprecate default_enabled + test
* CHANGELOG
* Remove docstring for deprecated param
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-21 16:11:20 -05:00
aliabd
db83055108
fixed constructor
2022-12-21 21:20:21 +04:00
github-actions[bot]
77f29401f3
[create-pull-request] automated change ( #2875 )
...
Co-authored-by: freddyaboulton <freddyaboulton@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2022-12-21 20:57:19 +04:00
Ali Abdalla
a31f95580a
Redirect old links to specific hash ( #2874 )
...
* redirect old links to specific hash
* remove trailing slash
2022-12-21 20:46:19 +04:00
Abubakar Abid
474b88af52
Removes the share warning msg and upgrades to gradio==3.15.0
( #2870 )
...
* removed share msg
* update version
* Add next section to changelog
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2022-12-21 11:33:28 -05:00
Ali Abdalla
9893166830
Fix css glitch and navigation in docs ( #2856 )
...
* fix css and navigation
* update changelog
* format backend
* fix css glitch in 3.14 docs
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-21 19:11:18 +04:00
Ali Abdalla
dc200af89c
Remove footers and min-height the correct way ( #2860 )
...
* fixes to readme
* add css to demos and remove footer js from html
* update changelog
* fix weird notebook
* fix weird notebook
* fix weird notebook
* fix weird notebook...
* actually fixed the problem
2022-12-21 19:01:42 +04:00
Ali Abdalla
57b6fb2013
Update website README.md with correct instructions on how to build website ( #2858 )
...
* fixes to readme
* removed unnecessary section
2022-12-21 18:41:02 +04:00
Freddy Boulton
51157d7410
Adding a LinePlot component demo to the docs ( #2868 )
...
* Add gradio demo
* Add linplot component notebook
* Link live_dashboard to LinePlot
* Fix notebooks + lint
2022-12-20 20:27:21 -05:00
Freddy Boulton
943b4ed77a
Wrap value in list for CheckBoxGroup. ( #2866 )
...
* Value error
* Add test
* Wrap value
* CHANGELOG
* Re-enable Example pagination on the front-end (#2861 )
* Pass samples_per_page to examples
* Add to changelog
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Value error
* Add test
* Wrap value
* CHANGELOG
* Update docstrings
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-20 18:02:18 -05:00
Freddy Boulton
ed2781d8d7
Re-enable Example pagination on the front-end ( #2861 )
...
* Pass samples_per_page to examples
* Add to changelog
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-20 17:10:23 -05:00
Abubakar Abid
612ab0539e
Fixed loading Spaces that have components with default values ( #2855 )
...
* fixed load space default values
* changelog
* formatting
* tweak
* fix tests
2022-12-20 15:38:02 -06:00
Abubakar Abid
0879f0a296
Fixes flagging when allow_flagging
is set to "auto" ( #2695 )
...
* flagging fix
* formatting
* changelog
* auto
* auto
2022-12-20 15:27:14 -06:00
Freddy Boulton
96297c0bad
LinePlot ( #2807 )
...
* First draft
* Fix tests
* Fix pdb
* Figure out stroke dash + legend position
* Add legend position
* Add back gif
* Add demo + update demo
* Format notebooks
* Changelog
* More changelog
* Undo notebooks
* Reword
* Set lower bound for altair
* Modify docstrings
* Add LinePlot image to changelog
2022-12-20 11:13:51 -05:00
Billy Cao
8f9d9ce25c
Add workaround to prevent importing gradio breaking PIL.Image.registered_extensions() ( #2846 )
...
* Add workaround to prevent importing gradio breaking PIL supported extensions list
* Update CHANGELOG.md
* Move _Image.init() to after all imports
2022-12-19 21:11:16 -06:00
Ali Abdalla
3cb2bb061c
Fix formatting issues in Big Query guide and Changelog ( #2842 )
...
* fix formatting issues
* fix format issues with guide and changelog
2022-12-17 15:51:35 -06:00
Abubakar Abid
62fdaf7c38
BigQuery Guide ( #2794 )
...
* bigquery draft
* updated guide
* updates
* changelog
* changelog
* title change
* renamed and added seo tips
* renamed
* added gif
2022-12-16 16:15:55 -06:00
github-actions[bot]
7b1b202a9d
New Version Docs ( #2835 )
...
* [create-pull-request] automated change
* empty commit
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-12-16 04:42:01 +04:00
Abubakar Abid
369f7d294e
Release 3.14.0 ( #2834 )
...
* 3.14.0
* changelog
2022-12-15 16:51:31 -06:00
Abubakar Abid
4e7317036d
Adds an every
parameter to every component ( #2806 )
...
* bigquery draft
* updated guide
* orjson fix
* formatting
* changelog
* attach every
* removed queue=False
* added test
* formatting
* adding event
* wip
* fix implementation
* remove prints
* formatting
* lint
* formatting
* reset guide
* changelog
* fix tests
* added test
* changelog
* renamed
* renamed
* lint
2022-12-15 16:07:44 -06:00
Abubakar Abid
20057aa946
Create fewer temp files and make them consistently-named ( #2758 )
...
* tmp files
* components
* changes
* temp_file_sets
* TempFileManager class
* added file manager
* internal functions
* tests
* formatting
* changes
* video tests
* added tests for File
* cheetah image
* formatting
* tests for upload button
* temp files
* formatting
* changelog
* fixed audio
* tmp files
* tmp files
* gallery
* deprecated type=file
* fixing tests
* patch os.path.exists
* fixed test_video_postprocess_converts_to_playable_format
* fixed tests
* changelog
* fix tests
* formatting
* added a download_if_needed
* formatting
* fixed download
* fixed gallery demo
* fix tests
* version
* fix for mac
* consolidate
2022-12-15 14:37:09 -06:00
Dawood Khan
714ab2cc09
Audio waveform ( #2706 )
...
* utils func
* changes
* changes
* changes
* notebook
* fix
* changes
* change
* changes
* changes
* notebook fix
* changes
* changes
* changes
* change
* fix
* revert backend changes, gr.make_waveform
* notebook
* Update CHANGELOG.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* format fix
* changes
* changes
* revert pnpm
* change
* change
* changes
* changes
* changes
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-15 12:35:22 -06:00
Abubakar Abid
074bf909ee
Better documentation of queuing parameters ( #2825 )
...
* better documentation of queuing parameters
* changelog
* added to guide
* deprecated param
* python 3.7 compat
2022-12-15 10:41:09 -06:00
Freddy Boulton
cce636251c
Format 3.13.2 release notes ( #2830 )
2022-12-15 11:08:18 -05:00
github-actions[bot]
6550d9a7a9
New Version Docs ( #2829 )
...
* [create-pull-request] automated change
* empty commit
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-12-15 19:38:03 +04:00
Abubakar Abid
2ae718f6b7
Remove jinja2>=3.0
dependencies and release gradio==3.13.2
( #2819 )
...
* version
* removed jinja2.html method
* removed jinja2.html method
* update version
* version
2022-12-15 08:40:47 -06:00
Erik Cederstrand
c67af90663
Remove h11 pinning ( #2820 )
...
* Remove h11 pinning
No longer relevant after release of httpx==0.23.1. See https://github.com/gradio-app/gradio/pull/1680
Refs https://github.com/gradio-app/gradio/pull/1680
* Add entry in CHANGELOG
2022-12-15 08:17:55 -06:00
github-actions[bot]
ffbc2a2a44
[create-pull-request] automated change ( #2818 )
...
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
2022-12-14 20:09:56 -06:00
Abubakar Abid
a83e10d7bd
Release 3.13.1 ( #2817 )
...
* changelog
* version
* changelog
2022-12-14 19:09:50 -06:00
Emily Uhde
ade918d0a2
2777 Add restProps to IconButton … ( #2791 )
...
* 2777 Add restProps to IconButton and use it to pass aria-labels down to the button element where it's used in other UI components
* 2777 Update per PR feedback, explicitly pass in label prop instead of using restProps
* 2777 Fix mysterious linter error
* Update changelog to fix PR number 2791
* Fix merge conflict
* Update CHANGELOG.md
Co-authored-by: pngwn <hello@pngwn.io>
2022-12-14 22:13:30 +00:00