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
Freddy Boulton
eb81fa2cf2
Skops integration: Load tabular classification and regression models from the hub ( #2126 )
...
* MVP of skops integration
* Add unit tests
* One more case
* Fix NaNs in widget data
* Remove breakpoint
* Fix typo
2022-09-06 09:15:57 -04:00
cobryan05
b145a2a191
Keep embedded PngInfo metadata ( #2170 )
...
* Keep embedded PngInfo metadata
Maintain any text-only PngInfo metadata on a PIL image when
dragging UI images between components.
* Minor cleanup
2022-09-04 18:54:30 -07:00
Hoàng Tùng Lâm (Linus)
66ef85b874
Fixed misleading log when server_name is '0.0.0.0' ( #2176 )
...
* Fixed misleading log when server_name is '0.0.0.0'
* some cleanups
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-04 18:48:08 -07:00
Dawood Khan
090622c2cc
fix ( #2168 )
2022-09-02 16:18:52 -04:00
Abubakar Abid
7bda7eedd1
Fixed Named API Requests ( #2151 )
...
* fixed duplicate api_name issue
* fixed name
* formatting
* fixed errors
* more complex test
* formatting
2022-09-02 04:10:20 -07:00
Abubakar Abid
4e1ee4099f
3.2 release! ( #2139 )
...
* 3.2
* ip address test catch
* treat 3.x interfaces as interfaces
* formatting
* mode
2022-08-31 13:49:06 -07:00
aliabid94
b2a181d4b0
Show error on Connection drops ( #2094 )
...
* changes
* changes
* fix
* changes
* fix
2022-08-31 13:16:43 -07:00
Freddy Boulton
880c63e200
Better processing of example data prior to creating dataset component ( #2128 )
...
* WIP commit
* Add method to components
* Validate image filepath
* Remove unused imports
* Fix validation
* Only display name for model3D
* Remove image validation
* Don't use abstractmethod - add tests
* Remove unused import
* Remove breakpoint
2022-08-31 12:46:43 -07:00
aliabid94
f2ab162b5d
changes ( #2147 )
2022-08-31 12:34:54 -07:00
pngwn
fa65d330c1
safari fixes ( #2138 )
2022-08-31 10:56:18 -07:00
aliabid94
c4495a0a5e
fix ( #2133 )
2022-08-30 18:12:22 -07:00
Abubakar Abid
df25d633fe
Some enhancements to gr.Examples
( #2131 )
...
* added elem_id
* formatting
* click
2022-08-30 18:06:36 -07:00
Ron Au
78d94cff1d
feat(samples table/gallery): Crop thumbs to square ( #2109 )
2022-08-30 17:40:18 -07:00
pngwn
609021b15b
2092 df ex ( #2125 )
...
* improve preview of dataframe examples
* support tsv dataframe examples
* parse only [artial file + fix light mode]
* color-tweak
2022-08-30 21:56:59 +01:00
Abubakar Abid
e5fd99c79b
Update CONTRIBUTING.md ( #2118 )
...
* Update CONTRIBUTING.md
* Update helpers.sh
2022-08-30 07:42:44 -07:00
aliabid94
99833d506e
Refactoring Layout: Adding column widths, forms, and more. ( #2097 )
...
* changes
* changes
* fix
* change
* change
* changes
* changes
* changes
* changes
* change
* remove test config outputs
* fix wflow
* attempt root user
* attempt root user
* attempt root user
* attempt root user
* changes
* changes
* changes
* changes
* changes
* change
* changes
* change
* Update gradio/layouts.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-29 19:51:01 -07:00
Dawood Khan
4816e3fb12
Fix: Download button does not respect the filepath returned by the function ( #2073 )
...
* download fix
* tweaks
* formatting
* added orig filename
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-29 13:39:15 -07:00
Freddy Boulton
85229a7058
Catch IndexError, KeyError in video_is_playable ( #2113 )
2022-08-29 12:57:04 -04:00
Abubakar Abid
4d58ae79b3
Improvements to State
( #2100 )
...
* state
* state fix
* variable -> state
* fix
* added state tests
* formatting
* fix test
* formatting
* fix test
* added tests for bakcward compatibility
* formatting
* config fix
* additional doc
* doc fix
* formatting
2022-08-29 09:53:05 -07:00
Thomas Mello
1ad587834a
Allow frontend method execution on Block.load event ( #2108 )
...
* add _js argument to load method
* formatting
* change default type of js arg to None
* change type of js arg to None
* fix test_data js arg type
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-29 07:43:42 -07:00
Abubakar Abid
4f0b8f9829
Accept deprecated file
route as well ( #2099 )
...
* fix
* added docs
* fixes
2022-08-28 14:40:12 -07:00
Freddy Boulton
6219dc7b0c
Fix infinite request issue ( #2070 )
...
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-27 15:06:18 -07:00
Dawood Khan
43c7e8a4a4
Fix TimeSeries examples not properly displayed in UI ( #2064 )
...
* fix
* fix
* format
* fixes
* type fixes
* pr fixes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-27 14:45:09 -07:00
Abubakar Abid
f2733d8f94
Fix issues related to demos in Spaces ( #2086 )
...
* skip demos in all_demos that don't run
* hack for spaces
* put import back
* added audio debugger demo
* audio fix
* fixed audio debugger
* testing
* test
* remove prints
* fix
* fix
* removed import
2022-08-26 16:35:47 -07:00