pngwn
36e383a9f0
fix spaces ( #2567 )
...
* fix spaces
* changelog
* tweak
* only mess with ws url in embed mode
* version
* always disregard embedding apps path when embedding
* version
* version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-30 07:39:27 -07:00
Freddy Boulton
a23eb53e3b
Run events every given number of seconds ( #2512 )
...
* WIP
* Fix implementation
* Fix units
* Rename
* Delete dead code
* This works
* Fix tests
* Final fix - still rough
* Reduce code duplication
* Fixing bugs + test
* Changelog
* Add gif to changelog
* Update demo and remove unused imports
* undo accidental diff
* Linting
* Add to guides
* Address comments
* formatting changelog
* Fix warnings
2022-10-28 17:53:06 -04:00
Ali Abdalla
a9f6d53016
changelog update ( #2564 )
2022-10-28 15:53:25 -04:00
Freddy Boulton
3ca5d4fe95
Release 3.8 ( #2561 )
...
* Release 3.7.1
* Update release number
2022-10-28 11:35:04 -07:00
aliabid94
10552cb6fd
Allow user to send inputs as dictionary ( #2550 )
...
* change
* changes
* changes
* changes
* changes
* change
* changes
* changes
* changes
* changes
* changes
* format
* changes
2022-10-28 10:52:28 -07:00
Freddy Boulton
e0a55df7dc
Modify CI to check for unused imports ( #2555 )
...
* Add lint script + remove unused imports
* Add lint file to sc
2022-10-28 10:56:18 -04:00
Dawood Khan
28b7d7de8f
fixes plotly whitespace ( #2548 )
...
* fix plotly whitespace
* changelod
2022-10-27 16:12:21 -04:00
camenduru
cf7d44591f
fix #2536 ( #2538 )
...
* fix #2536
thanks @pngwn
* fix #2536
* fix #2536
* changelog
Co-authored-by: pngwn <hello@pngwn.io>
2022-10-27 14:57:39 +01:00
Ali Abdalla
be4bedbc5e
temporary changelog update ( #2546 )
2022-10-26 21:23:43 -04:00
Abubakar Abid
249676b8dc
version ( #2542 )
2022-10-26 17:42:59 -07:00
Abubakar Abid
76512378a8
Adds support for audio samples in float64
, float16
, or uint16
formats ( #2545 )
...
* fixed audio
* added some unit tests
* formatting
* formatting
2022-10-26 16:24:46 -07:00
Abubakar Abid
5c80b544ab
Better error messages ( #2543 )
...
* events fix
* changelog, format, better error msg
* changelog
* changelog
* mix errors
* formatting
* switched from error to warnings
* typo
2022-10-26 16:10:26 -07:00
Freddy Boulton
099e1e84ec
Properly dequeue cancelled events when multiple apps are rendered ( #2540 )
...
* Fix render + tests
* Add comment + changelog
2022-10-26 16:29:47 -04:00
Abubakar Abid
933feb48ad
Remove special ws path for spaces ( #2528 )
...
* remove special ws path for spaces
* changelog
2022-10-26 12:55:32 -07:00
Dawood Khan
83a038ea7a
Load Event Trigger ( #2456 )
...
* load event
* fixes
* reformat
* changelog fixes
* rename to uploadable
* formatting
* format
* add cancels
* Update CHANGELOG.md
* Create CHANGELOG.md
* Update CHANGELOG.md
* add batch
2022-10-25 20:58:12 -04:00
pngwn
5a090de94a
prevent invalid targets of events from crashing app ( #2534 )
...
* add sourcemaps to build
* logs
* filter falsey values from target_instance map
* actually fix it this time
* changelog + cleanup
* format
2022-10-26 00:57:13 +01:00
Abubakar Abid
560b3f99c0
Fixes cancels to work with multiple blocks ( #2530 )
...
* fixes cancels to work with multiple blocks
* formatting and changelog
* formatting and test
* skip test in 3.7
2022-10-25 14:54:33 -07:00
Freddy Boulton
7f9223fdbe
Prevent api requests from skipping queue ( #2493 )
...
* Prevent request to rest api from skipping queue
* Release notes
* Make changes to show_api
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-25 11:45:15 -04:00
Freddy Boulton
943cdd5f35
Add dashboard demo to Demos tab ( #2508 )
...
* Add demo
* Changelog
* Undo
* Fix formatting
2022-10-25 11:15:18 -04:00
Abubakar Abid
0e168c4dff
Batching ( #2218 )
...
* batch
* formatting
* added parameter
* batch
* added docstrings
* correct arguments
* docstring
* adapt process_api for batch
* backend
* __call__
* more regular tests
* formatting
* cleaning up blocks.py
* __call__ works
* api route works
* first attempt at queue
* fixing tests
* fix some tests
* formatting
* removed print
* merge
* queue works!
* removed batch timeout
* removed batch timeout
* updated documentation
* fixing tests
* fixing tests
* fixing queue tests
* fixing queue tests
* formatting
* fix blocks config
* fix tests
* update documentation
* updated tests
* blocks
* blocks
* blocks
* tests
* test fixes
* more tests
* faster
* foramtting
* test fixes
* dataclasses
* fix
* revert to fix test
* fix
* fix test
* formatting
* fix tests
* refactoring examples
* formatting
* changelog
* fix examples
* formatting
* fix tests
* formatting
* catch error
* formatting
* fix tests
* fix cancel with batch
* final tests and docs
* test routes
* formatting
2022-10-24 16:32:37 -07:00
Dawood Khan
834d945b1a
Fixes plotly css issues ( #2486 )
...
* fix plotly css
* changelong
2022-10-24 11:13:41 -04:00
pngwn
c08b12a487
fix loading states for markdown and html ( #2499 )
...
* fix loading states for markdown and html
* cleanup
* cleanup
2022-10-24 12:38:58 +01:00
Rahul Varma
a18099f683
Allow render() to return self ( #2514 )
...
* Update blocks.py
Updated render() function in Blocks to return self
* Update CHANGELOG.md
* formatting
* fix changelog
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-23 05:59:15 -07:00
Abubakar Abid
1dd4231778
Fix share error message when files are built locally ( #2502 )
...
* fix share error message
* changelog
* formatting
2022-10-19 19:55:14 -07:00
Freddy Boulton
9840e87e82
Manually format changelog ( #2495 )
2022-10-18 16:41:24 -04:00
Abubakar Abid
deea86ca48
Release version 3.6
( #2492 )
...
* version
* Update version.txt
2022-10-18 13:24:23 -07:00
Freddy Boulton
668905fb3d
Fix infinite reload loop when gradio mounted as a sub application ( #2477 )
...
* Set dev mode to false in sub application
* CHANGELOG
2022-10-18 16:12:51 -04:00
Dawood Khan
8a34a799d6
clear timeseries fix ( #2487 )
2022-10-18 16:09:33 -04:00
Abubakar Abid
d7c96e1ad8
Adds a demo to show how a sound alert can be played when a prediction is complete ( #2478 )
...
* add sound alert demo
* changelog
* update changelog
* address suggestions
2022-10-18 13:03:07 -07:00
Abubakar Abid
081f63c5c5
Removes special characters from temporary filenames ( #2480 )
...
* remove special chars
* tests
* tests
2022-10-18 12:58:01 -07:00
Freddy Boulton
dae17bb75a
Fix video mirroring issue ( #2475 )
...
* Fix video flip + test
* CHANGELOG
* Fix python 3.7 mock syntax
* Fix python 3.7 syntax
* Use .stem
* Lint
2022-10-18 11:07:03 -04:00
pngwn
f79a76ca8f
add status tracker to md and html ( #2474 )
...
* add status tracker to md and html
* changelog
* changelog
2022-10-17 22:00:01 +01:00
Ali Abdalla
4ffab3eb6c
Small fix for version check before reuploading demos ( #2469 )
...
* fix comparison for version
* Update CHANGELOG.md
2022-10-16 22:29:55 -07:00
Freddy Boulton
831ae1405f
Cancel events from other events ( #2433 )
...
* WIP
* Use async iteration
* Format + comment
* Very hacky WIP
* Fix synchronization
* Add comments + tidy up implementation
* Remove print
* Fix rebase
* Lint
* Disconnect queue when cancelled
* Add stop button for interface automaticallY
* Unit tests + interface fixes
* Skip some tests on 3.7
* Skip in 3.7
* Fix skip message
* Fix for python 3.7
* Add stop variant to button variant type union
* CHANGELOG
* Add demos/gifs to the changelog
2022-10-14 18:43:24 -04:00
aliabid94
07c77ece36
update version ( #2466 )
2022-10-14 15:11:12 -07:00
Ali Abdalla
bff43bfb65
Upload all demos to spaces ( #2281 )
...
* upload all demos in the repo to spaces
* remove upload_demos from recipes, fix error
* load docs and guides demos from spaces
* Remove old demos dir, container, nginx and docker-compose
* update landing page spaces through /demo
* fix run filenames
* skip demos without a run.py file
* fix embedding in guides and docs
* update only on version change
* fix restart script
* fix broken demos
* add component demos
* website tracking pip
* fix embedded components
* fix components
* fix extra slash
* remove footers correctly
* Update CHANGELOG.md
* fix race condition
* add inner_template to gitignore
* set runfile to run.py
* fix time.sleep after testing
* check for prereleases
2022-10-14 14:07:26 -07:00
pngwn
78ab2c8e67
fix interactivity of value-less components with no dependencies ( #2459 )
...
* fix interactivity of value-less components with no dependencies
* changelog
* changelog fix
* changelog fix
* changelog fix
* formatting
2022-10-14 17:12:42 +01:00
aliabid94
5089053052
Port reuse block fix ( #2453 )
...
* fix
* chagnes
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2022-10-13 21:15:17 -07:00
Ali Abdalla
67a5ba96b1
Fix embedded interfaces on touch screen devices ( #2457 )
...
* fix touch device issue
* Update CHANGELOG.md
2022-10-13 20:03:39 -07:00
Freddy Boulton
2fdd2396d8
Fix race condition in queue ( #2374 )
...
* Catch disconnect exception
* Misc queue changes
* Add tests
* CHANGELOG
2022-10-13 11:07:36 -04:00
Dawood Khan
1d18ddae66
Add blur event to textbox and number ( #2448 )
...
* add blur event to textbox and number
* changelog
* fixes
* fix blur for number
* reformat
2022-10-12 23:53:05 -04:00
Abubakar Abid
e935f105e1
Improvements to gr.Dataset
( #2437 )
...
* Adding example components
* formatting
* formatting
2022-10-12 15:48:53 -05:00
Abubakar Abid
3c1172404a
Update strings.py to reference new Spaces Hardware ( #2423 )
...
* Update strings.py
* Update CHANGELOG.md
* Update gradio/strings.py
Co-authored-by: Julien Chaumond <julien@huggingface.co>
* Update strings.py
* Update strings.py
* Update strings.py
* Update strings.py
* Update strings.py
* Update strings.py
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2022-10-12 15:43:17 -05:00
Vova Zakharov
72c2ace2b8
bug fix (return ValueError → raise ValueError) ( #2445 )
...
* bug fix (return ValueError → raise ValueError)
* changelog
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-12 14:38:42 -05:00
Freddy Boulton
89fc21b17d
Install gradio from source in UI tests ( #2440 )
...
* Install gradio from source
* CHANGELOG
* Do not upgrade pip
2022-10-12 12:43:44 -04:00
Abubakar Abid
70eae89cef
Deprecates Carousel
component ( #2434 )
...
* formatting
* carousel
* Update CHANGELOG.md
2022-10-12 11:37:58 -05:00
pngwn
ed4f3e4ffd
add snapshot testing ( #2438 )
...
* add snapshot testing
* bump ci image
* tweak
* tweak
* fix gitgignore
* fix gitgignore
* dedicated snapshot script
* clean up tests
* tweaks
* fix ci
* fix script
* oops
* fix
2022-10-12 17:30:42 +01:00
Dawood Khan
3a2de9b415
Map demo + Guide ( #2402 )
...
* map demo + guide
* fixes
* update dataset to load from hub
* remove csv file
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-11 23:51:48 -04:00
Ali Abdalla
ad2c0790b4
Automatically restart spaces if they're down ( #2405 )
...
* check and restart spaces that are down
* if no auth_token, don't break build
* add to changelog
* Update CHANGELOG.md
2022-10-10 18:42:59 -07:00
Abubakar Abid
1dd4d34933
Updates the documentation to better describe Blocks.load()
( #2413 )
...
* updated doc
* removed link change
* revert changes to inner html
* changelog
* tweaks
* formatting
2022-10-07 14:38:59 -07:00