Ali Abdalla
625ccae34c
SEO improvements to guides ( #2915 )
...
* replace underscores with dashes and redirect old urls
* tldrs, listicles, and in-site cross-linking
* add canonical tags to all pages
* changelog
* shorten into
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-18 08:44:56 -08:00
Freddy Boulton
db54b7b76a
Use gr.lineplot for kinematics demo ( #2998 )
...
* Use lineplot for kinematics
* Changelog
2023-01-18 05:21:34 -05:00
Dawood Khan
1518f93c85
Fix issue where chatbot markdown support breaks older demos (removes <p> and /n) ( #3006 )
...
* fix
* chatbot test fix
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-17 22:46:42 +01:00
Abubakar Abid
055aab6e05
Fixing deserialize when loading external Spaces ( #3004 )
...
* deserialize
* changelog
2023-01-17 13:05:15 -08:00
Abubakar Abid
e9ff8f5e4b
Correctly add uploaded files to temp set ( #3005 )
...
* file-temp
* changelog
2023-01-17 12:55:42 -08:00
pngwn
d6fbc32ed1
Theme base 2 ( #2840 )
...
* 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
* fix generating status animation
* fix weird table scrollbar that only appears on freddy's computer
* format
* fix dataset in gallery mode
* cleanup
* fix notebooks
* tweaks
* fix notebooks
* change
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-01-17 12:47:40 -08:00
Freddy Boulton
2bbec4b41e
Fix file serialization so that output is json serializable ( #2999 )
...
* Add comments
* CHANGELOG
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-17 11:29:27 -08:00
Abubakar Abid
43f0bedf52
replace x-png with png ( #3002 )
...
* replace x-png with png
* changelog
2023-01-17 09:59:51 -08:00
Freddy Boulton
7ebe79a987
Fix interpretation events ( #2993 )
...
* Fix interpretation + test
* Changelog
* Empty
* Fix test
* Handle None case
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* lint
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-16 12:46:00 -05:00
Freddy Boulton
5c32ba31ba
Fix reload mode ( #2992 )
...
* Fix reload mode
* Add unit test
* Add to changelog
2023-01-16 12:17:41 -05:00
github-actions[bot]
8176d9496b
New Version Docs ( #2989 )
...
* [create-pull-request] automated change
* empty
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-01-16 05:31:08 -05:00
Abubakar Abid
b1b6841b7e
version ( #2988 )
2023-01-15 21:58:20 -08:00
Dawood Khan
537fa11b78
Fixes file upload fails for files with zero size ( #2923 )
...
* fix file zero size erroe
* changelog
* fixes
* add a test
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 20:38:28 -08:00
aliabid94
34cf1e612b
Support media output, "/file=" endpoint on iOS ( #2961 )
...
* changes
* changes
* change
* changes
* changes
* change
* changes
* change
* changes
* changes
* changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 19:54:09 -08:00
Freddy Boulton
3f2074855d
Fix bug downloading files with long names ( #2929 )
...
* Fix bug
* Add changelog
* move to current release section
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 18:58:14 -08:00
Freddy Boulton
06b973bda4
Fix Loading Examples ( #2955 )
...
* Fix
* CHANGELOG
* Unit test
* Fix
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 18:51:05 -08:00
Alina Rogalska
2e54471610
Fix cached examples encoding ( #2974 )
...
* Fix encoding when loading cached examples
* Format backend
* Add changes to CHANGELOG
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 00:16:46 -08:00
Tasha Upchurch
94c9512df9
the original demo would fail after switching to the 3rd tab once, by … ( #2971 )
...
* the original demo would fail after switching to the 3rd tab once, by not returning to it again when directed to.
it appears that somewhere in tabs, that selected is not being updated when a tabitem is selected.
* Changelog + notebooks:
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-01-13 13:41:53 -05:00
Abubakar Abid
6a3c8d3fdf
Bring back change event for Dropdown ( #2954 )
...
* bring back change
* changelog
* changelog
* changelog
2023-01-08 13:09:40 +01:00
Anton Lozhkov
981cd1ea68
Fix the path check for long CSS strings in Blocks ( #2953 )
...
* Fix the path check for long CSS strings in Blocks
* Add a test
* Update changelog
2023-01-08 06:31:21 -05:00
Freddy Boulton
1dcacdb6c9
Fix bug in mount_gradio_app with queue enabled ( #2939 )
...
* Move to __exit__
* Add test
* Add unit test
* Add changelog
* fix test
* Fix test
* Fix Release notes
2023-01-08 05:42:57 -05:00
github-actions[bot]
d229654673
New Version Docs ( #2952 )
...
* [create-pull-request] automated change
* tweak
Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-08 10:39:33 +01:00
aliabid94
13fd9f35e1
Hotfix audio output, HighlightedText skip ( #2950 )
...
* changes
* fixes
* changes
2023-01-07 22:26:19 -06:00
Freddy Boulton
b3dc6f5574
Fix changelog typo ( #2938 )
2023-01-05 12:37:17 -05:00
github-actions[bot]
5fc487cdfe
[create-pull-request] automated change ( #2934 )
...
Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-01-05 11:49:05 -05:00
Ali Abdalla
1ae01b2005
Optimize images and gifs ( #2922 )
...
* convert gifs to html video
* optimize images
* changelog
2023-01-05 16:49:53 +02:00
aliabid94
325ba0df2b
changes ( #2933 )
2023-01-04 21:39:58 -06:00
Dawood Khan
9fff1e0fe8
Enable multi-select on gradio.Dropdown ( #2871 )
...
* multiselect dropdown
* fixes
* more fixes
* changes
* changelog
* formatting
* format notebooks
* type fixes
* notebok fix
* remove console log
* notebook fix
* type fix
* Revert "format notebooks"
This reverts commit fb8762ecff
.
* notebook fix
* bug fixes
* Update CHANGELOG.md
* Excluding untracked files from demo notebook check action (#2897 )
* excluding untracked files from wget
* changelog
* fix setting default values
* typeability and arrow key support
* python types
* reformat
* another type check
* minor fixes + interactive false fix
* change remove token styling
* separate multiselect into separate file
* style fixes
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* some more style fixes
* small bug fix
* addressed pr comments
* fix active color highlighting
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-04 19:13:46 -05:00
Abubakar Abid
c02001da7d
Final typing: interpretation.py
and helpers.py
( #2911 )
...
* 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
* refactor interpret
* more typing
* undo blocks change
* undo test comp change
* created classes
* interpretation
* fix
* final fixes to interpretation
* type check
* helpers
* type hintg
* label
* initialize interpret
* fixed progress bar
* removed unnecessary assertion
2023-01-04 14:30:21 -05:00
Dawood Khan
ad42e80dca
Upload filetypes of specified extensions ( #2901 )
...
* file extensions
* Update CHANGELOG.md
* update notebook
* formatting
* notebook fix
* fixes
2023-01-04 12:34:46 -05:00
Freddy Boulton
92797fd486
Fix File Downloading ( #2926 )
...
* Fix + test
* Changelog
2023-01-04 12:18:04 -05:00
Freddy Boulton
53fa517480
Use gradio-pr-bot to make notebook check comments on PRs ( #2925 )
...
* Add new workflow files
* Fix spacing
* Indent
* Single quotes
* indent
* Single quotes
* Reorder steps
* Only comment once
* Comment if true
* Use v2
2023-01-04 10:51:16 -05:00
Freddy Boulton
f0727b9192
Deploy PRs from forks to spaces ( #2895 )
...
* store secrets in other repo
* Fix typo
* Use separate job
* trigger
* trigger
* trigger
* trigger
* Set up dependency
* Rename
* Close quotes
* empty
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* Add files
* CHANGELOG + rename workflow
* Remove echo and use repository owner
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-03 14:24:01 -05:00
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