Ian González
027bbc0180
Add docs to blocks context postprocessing function ( #2332 )
...
Co-authored-by: Ian Gonzalez <ian.gl@protonmail.com>
2022-09-26 10:43:40 -04:00
Ali Abdalla
8ca7f9c43b
Fix Web Tracker Script ( #2308 )
...
* fix if condition
* fix logic
* typo
2022-09-23 13:39:01 -07:00
Freddy Boulton
9f7dd05b72
Start queue when gradio is a sub application ( #2319 )
...
* First stab at it
* Use util methos
* lint
* Test
* Fix formatting
* Try out setting predict endpoint from websocket request
* lint
* Fix bug
* Address comments - remove server and port
* Skip in 3.7
* Fix documentation
* Add default 🤦
* docs tweak
* Add back imports that were deleted by wrong linter version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-23 16:01:44 -04:00
Dawood Khan
3a4a82634e
Fix: Dataframe column headers are reset when you add a new column ( #2318 )
...
* headers fix
* format fix
2022-09-23 13:50:08 -04:00
Abubakar Abid
f8696879af
release 3.4b3 ( #2328 )
2022-09-23 10:52:04 -05:00
voidxd
f44ed67ea0
Update 2)key_features.md ( #2326 )
...
Minor grammar/typo fixes.
2022-09-23 08:26:54 -05:00
Abubakar Abid
cecaf1a635
Sketching + Inpainting Capabilities to Gradio ( #2144 )
...
* templates
* working on backend
* formatting
* Sketching fe (#2184 )
* fix scaling on sketch + bg img
* tweaks
* ketch updates
* cursor style
* sketchpad
* fixes
* ensure background is white for bw sketch
* fix everything
* re-enable demos
* updated demo and changed from dict to str
* beta release
* fix bugs, tweak webcam source
* re-anable demos
* fix clear button and tab changing
* maybe fix test
* maybe fix test again maybe
* various fixes
* fix img uplaod + color sketch
* remove lazy brush but keep smoothing
* fix sketch bg
Co-authored-by: pngwn <hello@pngwn.io>
2022-09-23 13:14:56 +02:00
Abubakar Abid
581fbabe07
fix clipboard ( #2321 )
2022-09-22 12:52:14 -05:00
Freddy Boulton
11379b92f1
Respect Upstream Queue when loading interfaces/blocks from Spaces ( #2294 )
...
* Fix fn used in load when queue is enabled
* Respect upstream queue
* Fix test
* Skip in 3.7
* Update logic to respect if fn does not have queue
* Fix impl + test
2022-09-21 13:18:40 -04:00
Abubakar Abid
c977ef1fa8
Supports gr.update()
in example caching ( #2309 )
...
* support for update
* formatting
* testing
* fixes to tests
* fixes to tests
* fix tests
* fix review comments
* Update blocks.py
2022-09-21 11:53:06 -05:00
Freddy Boulton
eaae71fdd1
Don't deploy to spaces on release ( #2313 )
2022-09-21 12:06:24 -04:00
SkyTNT
0c4b13620e
fix : queue could be blocked ( #2288 )
...
* fix: queue could be blocked
* add: send error message
* fix
* fix
* Add tests
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2022-09-20 14:34:08 -04:00
Freddy Boulton
b8fc551807
Raise warning when trying to cache examples but not all inputs have examples ( #2279 )
...
* Add error message + test
* Undo changes to fake_gan
* Raise warning message instead
* Fix typo in warning message
* Remove unused import
* Address comments
2022-09-20 10:48:52 -04:00
Abubakar Abid
6c33eed976
Promotes postprocess
and preprocess
to documented parameters ( #2293 )
...
* changes
* Delete media_data.py.isorted
* fixes in other files
* fixes in other files
* added for grid
* removed status tracker
* removed status tracker
* added deprecation warning
* formatting
2022-09-19 19:38:17 -05:00
Freddy Boulton
bbd1c7237e
Use max concurrency count in queue ( #2286 )
2022-09-19 10:03:06 -04:00
Ali Abdalla
5dcc5617ca
Website fixes and refactoring ( #2280 )
...
* fix OS specific homepage build
* trailing comma
* refactor all slack notifs to one file
* fix scripts
* fix error notification to return useful errors
2022-09-16 01:23:40 -07:00
Abubakar Abid
dd70a173e4
release ( #2271 )
2022-09-15 14:14:32 -07:00
Erfan
bff2bb35a2
changed the documentation for background styling ( #2275 )
...
* changed the body to .gradio-container #2270
* changed body to .gradio-container #2270
* added a description #2270
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2022-09-15 11:52:49 -07:00
aliabid94
72c52ebc9f
Attach visible kwarg to all components ( #2247 )
...
* change
* remove visible for tabitem
* change
2022-09-15 11:51:18 -07:00
Dawood Khan
42a9c2688f
Fix Multiple File Examples ( #2267 )
...
* fix multiple file examples
* format
* fix
* change demo name zip_files
* change func names
2022-09-15 14:40:59 -04:00
aliabid94
79805b3188
Min width clarifications [hotfix] ( #2276 )
...
* Add clarifications about min width
* rewording
* changes
Co-authored-by: Ankur Goyal <ankur@impira.com>
2022-09-15 11:23:48 -07:00
Ankur Goyal
8af1439ec9
Add clarifications about min width ( #2259 )
...
Co-authored-by: Ankur Goyal <ankur@impira.com>
2022-09-15 11:15:45 -07:00
Freddy Boulton
1a0021e432
Do not deploy pr to spaces on prs originating from forks ( #2274 )
...
* Disable deployments from running on forks
* Update workflow file
* Undo change to pypi workflow
2022-09-15 13:03:06 -04:00
Ali Abdalla
597337dcb8
Adding a Playground Tab to the Website ( #1860 )
...
* added playground with 12 demos
* change name to recipes, restyle navbar
* add explanatory text to page
* fix demo mapping
* categorize demos, clean up design
* styling
* cateogry naming and emojis
* refactor and add text demos
* add view code button
* remove opening slash in embed
* styling
* add image demos
* adding plot demos
* remove see code button
* removed submodules
* changes
* add audio models
* remove fun section
* remove tests in image semgentation demo repo
* requested changes
* add outbreak_forecast
* fix broken demos
* remove images and models, add new demos
* remove readmes, change to run.py, add description as comment
* move to /demos folder, clean up dict
* add upload_to_spaces script
* fix script, clean repos, and add to docker file
* fix python versioning issue
* env variable
* fix
* env fixes
* spaces instead of tabs
* revert to original networking.py
* fix rate limiting in asr and autocomplete
* change name to demos
* clean up navbar
* move url and description, remove code comments
* add tabs to demos
* remove margins and footer from embedded demo
* font consistency
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-15 08:24:10 -07:00
Freddy Boulton
f346118133
Show view api button even if there are no named api routes in the app ( #2250 )
...
* Show message when no named api routes
* Lint
* Change text slightly
* Add show_api to launch method + fix text
* Undo changes to demos
* Change url example
2022-09-15 11:11:31 -04:00
Ofek Lev
f43481c18a
Update package metadata ( #2226 )
...
* Update package metadata
* address review
2022-09-14 17:39:46 -04:00
Abubakar Abid
1beb54a8c0
Add documentation about how to create and use the Gradio FastAPI app ( #2263 )
...
* added a demo
* added in docs
2022-09-14 14:23:12 -07:00
Freddy Boulton
101bc7e287
Skip value key in delete_none only during updates ( #2264 )
...
* Skip value only during update
* Update tests
2022-09-14 17:01:05 -04:00
Freddy Boulton
422de63663
Fix postprocess when value is a dict with only one key ( #2242 )
...
* Unwrap + test
* Update tests + use resolve_singleton
* Undo test change
2022-09-14 12:06:32 -04:00
Freddy Boulton
5e7f5a0f6b
Delete spaces created on PRs after a certain amount of time ( #2249 )
...
* Add script to delete spaces
* Add workflow
* See if required=false fixes it
* Fix input param
* Run again
* Test delete 2
* Delete for real
* Fix typo
* Undo changes for testing
* pass api
2022-09-14 11:15:26 -04:00
Merve Noyan
361e461b97
Gradio for Tabular Data Science Workflows Guide ( #2199 )
...
* initial commit
* dataframe guide
* added link to skops
* embedded spaces + applied nits
2022-09-14 06:40:18 -04:00
Abubakar Abid
809230f25f
Added support for URLs for Video
, Audio
, and Image
( #2256 )
...
* added url support
* avoid copying temp file
* formatting
* remove unused import
* fixes
* updated example
* fix
2022-09-13 17:24:50 -07:00
Abubakar Abid
b643ae77bf
fix ( #2253 )
2022-09-13 15:07:50 -07:00
aliabid94
f7f96cc042
changes ( #2248 )
2022-09-13 14:53:39 -07:00
Freddy Boulton
14d23e4d19
Used temp file in test ( #2241 )
2022-09-13 10:32:30 -04:00
Abubakar Abid
2942e24aa3
Quick fix for partial functions ( #2235 )
...
* fix for partial
* added test
* fixed tests by adding self
2022-09-12 17:58:17 -07:00
Abubakar Abid
fb434fc73d
Tests for Queue ( #2214 )
...
* enter key fix
* format
* fixes
* tests
* more tests
* formatting
* adding test skeleton
* added tests'
* remaining tests for websocket
* removed websocket
* fixes
Co-authored-by: Dawood <dawoodkhan82@gmail.com>
2022-09-12 17:47:33 -07:00
Abubakar Abid
6ee7efa86c
Fix HighlightedText
component ( #2221 )
...
* entities
* tweak
2022-09-10 00:32:06 -07:00
Victor Muštar
72ee6f8b80
UI: update error message ( #2213 )
...
* update error message UI
* alternative layout
* inner error style
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-09 12:42:01 -07:00
Dawood Khan
072c4a3103
Textbox Shift + Enter key Refactor ( #2084 )
...
* enter key fix
* format
2022-09-08 17:02:03 -04:00
Abubakar Abid
27d1718608
3.3 ( #2212 )
2022-09-08 07:51:55 -07:00
Abubakar Abid
bf1510165d
Support for iterative outputs ( #2189 )
...
* Support for iterative outputs (#2162 ) (#2188 )
* added generator demo
* fixed demo structure
* fixes
* fix failing tests due to refactor
* test components
* adding generators
* fixes
* iterative
* formatting
* add all
* added demo
* demo
* formatting
* fixed frontend
* 3.2.1b release
* removed test queue
* iterative
* formatting
* formatting
* Support for iterative outputs (#2149 )
* added generator demo
* fixed demo structure
* fixes
* fix failing tests due to refactor
* test components
* adding generators
* fixes
* iterative
* formatting
* add all
* added demo
* demo
* formatting
* fixed frontend
* 3.2.1b release
* iterative
* formatting
* formatting
* reverted queue everywhere
* added queue to demos
* added fake diffusion with gif
* add to demos
* more complex counter
* fixes
* image gif
* fixes
* version
* merged
* added support for state
* formatting
* generating animation
* fix
* tests, iterator
* tests
* formatting
* tests for queuing
* version
* generating orange border animation
* testings
* added to documentation
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-09-08 07:35:31 -07:00
aliabid94
f8523868d0
Add accordion component ( #2208 )
...
* changes
* changes
2022-09-07 20:32:10 -07:00
Partho
1615104fa5
use correct MIME type for js-script file ( #2200 )
...
* use correct MIME type for js-script file
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-07 16:00:20 -07:00
Dawood Khan
83b2953c69
Quick Fix: Multiple file download not working ( #2169 )
...
* fix
* fix
* fixes
* format
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-07 17:44:50 -04:00
Freddy Boulton
a69fd1de13
Preserve Labels In Interpretation Components ( #2166 )
...
* Add label to interpretation
* Add defaults
* Fix default for slider
2022-09-07 14:43:08 -04:00
aliabid94
5360ea002e
changes ( #2193 )
2022-09-06 14:34:56 -07:00
Freddy Boulton
6c1bfbb42c
Fix bugs with gr.update ( #2157 )
...
* Use void to reset to original state
* Cosmetic fixes to comments
* Use keyword
* Set default value to no value
* Fix test
* Make private
* Improve comment on _Keywords.NO_VALUE
Improve comment
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Use NO_VALUE in `test_blocks`
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update test/test_blocks.py
Use NO_VALUE in tests
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-06 17:08:38 -04:00
Abubakar Abid
3464673064
Add manual trigger to deploy to pypi ( #2192 )
...
* Create test.yml
* Update deploy-pypi.yml
* Update deploy-pypi.yml
* Delete test.yml
* fixes
* fixes
* check pypi
* check pypi
* version
* version
2022-09-06 13:49:49 -07:00
Freddy Boulton
9b4bf627f2
Add orig_name to serialized file repr ( #2145 )
2022-09-06 10:40:59 -04:00