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
Freddy Boulton
9c8fa8bf45
Create docs for 3.13.0 + fix requirements.txt ( #2811 )
...
* Create docs + fix bug
* Changelog
2022-12-14 09:33:52 -05:00
Abubakar Abid
53005ab88a
Switch from SSH tunneling to FRP ( #2509 )
...
* FRP Poc (#2396 )
* FRP Poc
* Gracefully handle exceptions in thread tunneling
* comments
* Fix share error message when files are built locally (#2502 )
* fix share error message
* changelog
* formatting
* tunneling rename
* version
* formatting
* remove test
* changelog
* version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Wauplin <lucainp@gmail.com>
* 2509
* updated url to testing.gradiodash.com
* gradiotesting
* format, version
* gradio.live
* temp fix for https
* remove unnecessary tests
* version
* updated tunnel logic
* formatting and tests
* load testing
* changes
* Make private method + generate privilege key (#2519 )
* rm load test
* frp
* formatting
* Update run.py
* Update run.py
* updated message
* share=True
* [DO NOT MERGE] Add pymux for FRP (#2747 )
* Add pymux for FRP
* Cleaning pyamux
* Cleaning pyamux + make it work
* Forgot the thread
* Reformat
* some logs to be removed afterwards
* added share to hello world
* Transform into object
* I guess it's cleaner now
* Handle 404 + Transform to object
* Fix params names
* Add debug
* windows fix
Co-authored-by: Wauplin <lucainp@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* removed share=True
* formatting
* hello world notebook
* version
* fixes
* formatting
* testing tunneling exists
* tests
* formatting
* lint
* Remove asyncio + kill proc on exit
* version
* version
* update changelog
* explicit message about reporting
Co-authored-by: Adrien <adrien@xcid.fr>
Co-authored-by: Wauplin <lucainp@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-12-14 08:10:45 -06:00
Abubakar Abid
5182460886
Patching test_get_ip
attempt 2 ( #2810 )
...
* ip-patch-2
* formatting
* patch 2
2022-12-13 20:30:47 -06:00
Abubakar Abid
b492212c02
Patch ip test ( #2808 )
...
* patch ip test
* changelog
2022-12-13 17:15:14 -06:00
Abubakar Abid
c126e62970
Add support for numpy array and other types to gr.Dataframe()
initial value ( #2804 )
...
* bigquery draft
* updated guide
* orjson fix
* formatting
* changelog
* rm guide
2022-12-13 17:01:27 -06:00
Abubakar Abid
39ffe9df4a
Typo in the parameter visible
in templates.py
( #2805 )
...
* bigquery draft
* updated guide
* updates
* changelog
* fixed typos in kwargs
* revert to main
* changelog
* fix reversion
* removed requires_permissions
2022-12-13 13:48:20 -06:00
Freddy Boulton
08f0ac23b5
v3.13.0 Release notes ( #2801 )
2022-12-12 13:10:08 -06:00
Abubakar Abid
e33626e82c
release 3.13.0 ( #2793 )
...
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2022-12-12 12:42:40 -06:00
Abubakar Abid
db48356832
Revert #2760 ( #2799 )
...
* changelog
* changelog
2022-12-12 13:10:39 -05:00
Freddy Boulton
3672e17256
Terminate generating events early if the session is closed ( #2783 )
...
* Return early if no awake events
* Add to changelog
* Add test
* Clarify when events are cancelled in the docs
2022-12-12 09:15:50 -05:00
Abubakar Abid
a580a93510
Fixing pypi release deployment script ( #2786 )
...
* loud
* memory
* force delete
* version
2022-12-09 22:05:15 -08:00