Freddy Boulton
2a59bab3bb
Fixes TabbedInterface bug where only first interface events get triggered ( #8504 )
...
* Add code
* add changeset
* Add code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-06-09 08:30:28 -07:00
Abubakar Abid
41a449383a
fix client flaky tests ( #8481 )
...
* fix client flaky tests
* format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-06-06 07:05:28 -07:00
Freddy Boulton
48eeea4eaa
Refactor Cancelling Logic To Use /cancel ( #8370 )
...
* Cancel refactor
* add changeset
* add changeset
* types
* Add code
* Fix types
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-06-05 15:32:24 -04:00
Abubakar Abid
2cd02ff3b7
Remove deprecated parameters from Python Client ( #8444 )
...
* deprecate
* add changeset
* file -> handle_file
* more updates
* format
* add changeset
* fix connect
* fix tests
* fix more tests
* remove outdated test
* serialize
* address review comments
* fix dir
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-06-05 00:26:28 +00:00
aliabid94
4a55157ed9
state.change listener with deep hash check ( #8446 )
...
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* Update guides/04_building-with-blocks/04_dynamic-apps-with-render-decorator.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-06-04 14:19:30 -07:00
Abubakar Abid
33c8081aa9
Handle special arguments when extracting parameter names for view API page ( #8400 )
...
* fix special args
* add changeset
* format
* ignore typecheck
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-06-04 08:12:10 -07:00
Xu Song
33e8babb17
Enable hiding the inline category in HighlightedText with a show_inline_category
argument ( #8355 )
...
* Enable hidding inline_category in HighlightedText
* add changeset
* Update test_highlighted_text.py
* add changeset
* Update gradio/components/highlighted_text.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* add story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-05-23 09:17:41 +00:00
aliabid94
55f664f297
Add event listener support to render blocks ( #8243 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changeas
* changes
* add changeset
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* cganges
* changes
* changes
* changes
* changes
* add changeset
* changes
* chagnes
* changes
* changes
* changes
* changes
* changes
* js
* remove console log
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* chnages
* changes
* cnages
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* Add `state.change` listener (#8297 )
* state changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-05-22 14:51:53 -07:00
Freddy Boulton
ee1e2942e0
Ensure JSON component outputs handled properly in postprocess ( #8292 )
...
* Add code
* Json postprocess
* add changeset
* add changeset
* Fix json tests
* fix flag
* Address comments
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-15 21:38:50 +00:00
Freddy Boulton
7e976fd9bf
Send ProcessCompleted message when job is cancelled ( #8260 )
2024-05-13 17:43:25 -04:00
Abubakar Abid
05fe4918c0
Allow Spaces with .success()
to be gr.load
-ed ( #8242 )
...
* fix success in gr.load
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-08 19:34:23 -05:00
Yuichiro Tachibana (Tsuchiya)
0493c66303
Split test/test_components.py into test/components/test_*.py ( #8218 )
...
* Split test/test_components.py into test/components/test_*.py
* Remove test/components/conftest.py because what it configures is already defined in pyproject.toml
2024-05-07 16:06:34 +09:00
aliabid94
5436031f92
Render decorator 2 ( #8110 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changeas
* changes
* add changeset
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* cganges
* changes
* changes
* changes
* changes
* add changeset
* changes
* chagnes
* changes
* changes
* changes
* changes
* remove console log
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-05-06 08:36:07 -07:00
pngwn
24b2286a22
allow the canvas size to be set on the ImageEditor
( #8127 )
...
* add canvas size kwarg to imageeditor
* add changeset
* fix tests
* fix cropsize
* changes
* notebooks
* update docstrings
* fix type
* fix undefined dimensions
* Update image_editor.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix type
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-05-03 10:55:19 +01:00
Freddy Boulton
449d0e6e14
Refactor analytics to not use api.gradio.app ( #8180 )
...
* Analytics refactor
* add changeset
* add changeset
* Fix wasm?
* Fix python tests'
* Revert changes chrome
* use util function
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-02 20:29:19 -04:00
Freddy Boulton
72039be93a
Support custom components in gr.load ( #8200 )
...
* Add code
* add changeset
* Update fuzzy-mirrors-scream.md
* Update fuzzy-mirrors-scream.md
* Fix tests
* Update .changeset/fuzzy-mirrors-scream.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-05-02 23:07:45 +00:00
Yuichiro Tachibana (Tsuchiya)
937c858371
Use orjson to serialize dict including np.array ( #8041 )
...
* Use orjson to serialize dict including np.array
* add changeset
* Update json_component demo and add an E2E test using it
* Rename demo/json_component -> demo/json_component_blocks
* Add json_component_interface demo and an E2E test using it
* Fix to await assertion promises
* Revert renaming of json_component demo
* add changeset
* Rename js/app/test/json_component_blocks.spec.ts -> js/app/test/json_component.spec.ts
* Revert changes in routes.py and add orjson to json_component.py
* Update gr.Checkbox.postprocess to ensure a bool value is returned
* add changeset
* Remove the if-block in gr.Checkbox.postprocess handling NumPy arrays as they are not reasonable values to be interpreted as checkbox's value
* Update gr.JSON's docstring
* Add test/components/test_json_component.py
* Remove JSON component E2E tests
* Update gr.JSON's docstring
* docstring
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-25 16:13:01 +09:00
Abubakar Abid
487db7b5d5
Respect auth_dependency
parameter in launch()
( #8097 )
...
* respect auth dependency provided in launch()
* add changeset
* format
* add changeset
* changes
* fix lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-23 14:26:19 -07:00
Abubakar Abid
cbdfbdfc97
upgrade ruff
test dependency to ruff==0.4.1
( #8100 )
...
* upgrade ruff==0.4.1
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-23 09:16:58 -07:00
aliabid94
91a7a31cd1
Store configs per session in the backend ( #8030 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changeas
* add changeset
* unrelated fix
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-22 11:20:05 -07:00
Lucain
ac30e07f92
[HF OAuth] Logout user if oauth token has expired ( #8093 )
...
* Logout user if oauth token has expired
* add changeset
* add changeset
* mark flaky test as flaky
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-22 08:18:04 -07:00
Freddy Boulton
2afca65419
Add max_file_size
parameter to launch()
that limits the size of files that can be uploaded in the Gradio app ( #7909 )
...
* File size limits
* Implementation
* add changeset
* Fix tests
* python client support
* lint
* fix test
* lint
* add changeset
* Set at the blocks level
* add changeset
* type check
* format
* lint
* lint
* Delete files as soon as they're encountered
* fix tests
* type hint 🙄
* Fix tests
* Fix below limit test
* add changeset
* Fix tests
* Add client file
* revert loop code
* Add to guides
* Pass in via gradio component
* add changeset
* Update loading status
* Make errors closeable
* add changeset
* Add code
* Lint
* Changelog highlight
* Fix i18n in storybook
* Address comments
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-19 15:38:53 -04:00
pngwn
074ce3805a
ensure the ImageEditor
works correctly with layers and change
events ( #8059 )
...
* stuff
* fix layrs
* add changeset
* lint
* ensure a default image can be passed when sources list is empty
* fix loading status
* add layers option to disable layer ui
* types
* fix tests
* cleanup
* cleanup
* notebooks
* fix composite
* fix
* fix trash icon
* add changeset
* fix layer bg
* fix error display
* notebooks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-18 15:55:00 +00:00
pngwn
dbb7373dde
ensure ImageEditor
events work as expected ( #7845 )
...
* changes
* changes
* more fix
* more fix
* add changeset
* fix initial crop
* fix format
* fix format
* fix formats
* faster?
* race condition
* fixes + test
* fix type?
* notebooks
* fix type
* change demo
* add changeset
* fix type
* fix type
* fix type again
* fix type again again
* lint
* lint again
* fix test
* tests
* fix
* tests
* address comments
* fix notebooks
* fix tests
* fix stories
* fix webcam ui
* cleanup
* add changeset
* fix input event
* add format param + fix input event
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-15 20:16:07 +00:00
Yuichiro Tachibana (Tsuchiya)
f17d1a0a6f
Add an explicit dependency of urllib3~=2.0
and update processing_utils.save_url_to_cache
to use urllib3
for Lite support ( #8011 )
...
* Add an explicit dependency of `urllib3` and update `processing_utils.save_url_to_cache` to use `urllib3` for Lite support
* add changeset
* Update requirements.txt
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* add changeset
* update test requirements
* update test reqs
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-14 17:46:55 +00:00
Michael
299c87c477
Document that show_copy_button in gr.Textbox is not visible when show_label=False ( #8012 )
...
* Document that show_copy_button in gr.Textbox is not visible when show_label=False
Remove dict_to_dataclass since its not used
* add changeset
* tweak wording
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-12 18:17:19 +00:00
Freddy Boulton
c1df2f818c
Fix example loading for custom components ( #7981 )
...
* format
* add changeset
* add changeset
* Update component
* Add tests
* Add code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-10 17:52:41 -04:00
Abubakar Abid
8250a1a0df
Handle the case of multiple headers when constructing root url ( #7938 )
...
* handle the case of multiple headers
* lint
* add changeset
* Update gradio/route_utils.py
* add changeset
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-05 02:35:12 +00:00
Freddy Boulton
a4782f7a09
Allow displaying gr.Code examples by their filename if value is a tuple ( #7912 )
...
* Add code
* add changeset
* add changeset
* Only display filename
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-04 00:38:55 +00:00
Abubakar Abid
2bae1cfbd4
Adds an "API Recorder" to the view API page, some internal methods have been made async ( #7850 )
...
* changes
* code recorder
* api docs
* add changeset
* changes
* change
* add changeset
* add changeset
* changes
* fixes
* format
* changes
* fix
* add changeset
* rename
* api recorder
* docs
* changes for pr
* fix
* async-ify
* add changeset
* fix typing
* fixes
* fix test/test_blocks
* fix more tests
* fix test
* add changeset
* fix more tests
* add async version
* make 2 separate functions
* format
* fix
* format
* fix tests
* move resource
* changes
* fix cache
* lite fixes
* make lazy cache async
* fix
* fix
* flaky
* replace null with None
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-03 14:28:06 -07:00
Freddy Boulton
6a4bf7abe2
Delete user state when they close the tab. Add an unload event for the demo and a delete_callback on gr.State to let developers control how resources are cleaned up ( #7829 )
...
* Delete state
* add changeset
* Delete state
* WIP
* Add load event
* Working ttl
* unload e2e test
* Clean up
* add changeset
* Fix notebook
* add changeset
* Connect to heartbeat in python client
* 15 second heartbeat
* Demo for unload
* Add notebook
* add changeset
* Fix docs
* revert demo changes
* Add docstrings
* lint 🙄
* Edit
* handle shutdown issue
* state comments
* client test
* Fix:
* Fix e2e test
* 3.11 incompatibility
* delete after one hour
* lint + highlight
* Update .changeset/better-tires-shave.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update .changeset/better-tires-shave.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-04-01 18:31:56 -04:00
Abubakar Abid
024b44c553
Add support for lazy caching of examples, as well as add GRADIO_CACHE_EXAMPLES
env variable ( #7863 )
...
* lazy cache
* lazy cache
* add changeset
* changes
* changes
* helpers
* revert
* changes
* changes
* bash scriipt
* internal
* changes
* check
* setup
* fix
* lint
* add changeset
* revert
* fix
* fix test
* add changeset
* partial fix
* flaky
* lint
* change test
* add changeset
* change default behavior, add env
* set env correctly
* fixes
* format
* don't block event loop
* changes:
* get space
* add to chat interface
* add flag for deferring caching
* fixes
* lazy sync
* format
* added support in chat_interface
* add documentation
* fix test
* add test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-29 23:14:33 +00:00
Abubakar Abid
e6d051dc8a
Fix how files are processed in gr.ChatInterface
( #7875 )
...
* submit button icon
* loader
* add changeset
* pr fix
* paste
* format
* add changeset
* remove path
* revert
* reset cset
* add changeset
* add changeset
* guide
* guide
* fix
---------
Co-authored-by: Dawood <dawoodkhan82@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-28 10:12:02 -07:00
Abubakar Abid
7af3cd7ccb
Adds a placeholder
argument to gr.Chatbot
( #7849 )
...
* add placeholder
* add changeset
* add test
* format
* lint
* chatbot
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-27 12:13:17 -07:00
Abubakar Abid
75a2bf745d
Add guide on Client state and and fix default values of components ( #7830 )
...
* add guide and default values
* add changeset
* reset session
* fix
* add changeset
* fix tests'
* Update guides/08_gradio-clients-and-lite/01_getting-started-with-the-python-client.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-03-26 21:10:43 +00:00
Shubham raj
1c257f5ebc
Bugfix: ..
in filename throwing error while loading in output. ( #7795 )
...
* Exclude filename while preventing path traversal
* add changeset
* add changeset
* Check if path1 is a file and use path1
parent to compare
* explicit
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-25 19:27:42 +00:00
Freddy Boulton
cf98c7ed18
Adds trigger_mode to gr.on. Use it to set trigger_model="always_last" for live interfaces. ( #7794 )
...
* Dep + test
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-22 16:00:52 -07:00
Abubakar Abid
781678b3ac
Fix root url resolution from x_forwarded_host
headers ( #7787 )
...
* logging
* add changeset
* fix
* remove print
* add changeset
* docstring
* add test
* add changeset
* docs fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-22 15:08:40 -07:00
Yuichiro Tachibana (Tsuchiya)
d831040032
Remove Ruff and Uvicorn in Wasm env ( #7744 )
...
* Exclude `ruff` from the requirements list for Wasm env
* Exclude `uvicorn` from the requirements list for Wasm env and fix the related modules not to try to import it when not used
* add changeset
* Fix tests
* add changeset
* Apply formatter
* Remove a test case which became unnecessary in https://github.com/gradio-app/gradio/pull/5267 , ref: https://github.com/gradio-app/gradio/pull/7744#issuecomment-2011332287
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-22 17:32:59 +09:00
Abubakar Abid
2efb05ed99
Adds support for kwargs and default arguments in the python client, and improves how parameter information is displayed in the "view API" page ( #7732 )
...
* changes
* changes
* add changeset
* improvements to api docs ui
* add changeset
* ux design work
* further styling
* feedback
* add changeset
* get parameter name
* fix code snippet
* construct args
* add changeset
* construct_args
* utils
* changes
* add catches
* fixes
* valid
* fix tests
* js lint
* add tests
* add changeset
* format
* client
* doc
* fixes
* changes
* api docs fixes
* fix .view_api()
* updating guide wip
* guide
* updated guides'
* fix
* guide fixes
* filepath
* address review
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-21 17:18:13 -07:00
Freddy Boulton
43ae23f092
Fix accidental bug that prevented custom textboxes from being passed to chatinterface ( #7783 )
...
* Add code
* add changeset
* Update gradio/chat_interface.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-21 19:22:14 +00:00
David Löwenfels
853d945e75
Add format parameter to gr.Image, gr.Gallery, gr.AnnotatedImage, gr.Plot to control format to save image files in ( #7680 )
...
* WIP re: #7486 . Make less PNG-centric.
preserve file format during upload
add format to image component
* more format preservation re: #7486
* lint
* lint; add comments; update Plot component
* add'l for Plot imaging defaults
* Working tests
* add changeset
* Add code
* test
* Add code
* add changeset
* Docstring improvements
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-19 19:29:27 +00:00
Abubakar Abid
04857bc524
Add allowed_paths
, blocked_paths
, show_error
, and favicon_path
parameters to gr.mount_gradio_app
( #7734 )
...
* mount
* add params
* routes
* add changeset
* blocks
* fixes
* add changeset
* typo
* typo
* mount
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-19 10:56:20 -07:00
Mike Heavers
7f9b291922
Cast button value as string in postprocess ( #7733 )
...
* Cast button value as string.
If you don't do this, it causes a problem on gradio app load - see github issue #7690
(https://github.com/gradio-app/gradio/issues/7690#issuecomment-1997718185 )
* add changeset
* add test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-18 13:37:45 -07:00
Abubakar Abid
aca4892ea5
More fixes for gr.load()
as well as a tweaking the __str__
and __repr__
methods of components ( #7712 )
...
* more fixes
* add changeset
* format
* add changeset
* add changeset
* address review
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-15 20:59:46 +00:00
Abubakar Abid
95c6bc897b
Fix flagged files and ensure that flagging_mode="auto" saves output components as well ( #7704 )
...
* interface
* docstring
* changes
* changes
* add changeset
* changes
* add changeset
* changes
* add changeset
* changes
* changes
* fix
* changes
* add changeset
* flaggin
* simplify
* changes
* helpers
* filedata
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-14 14:03:34 -07:00
Abubakar Abid
aba44707af
Add auth
, auth_message
, and root_path
parameters to mount_gradio_app
( #7667 )
...
* root path
* add changeset
* docstring
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-11 15:10:33 -07:00
Abubakar Abid
048364c6b0
downgrade contourpy ( #7650 )
...
* fix formatting error in gradio/lite package.json
* downgrade contourpy
* testng
* matplotlib
* add future
* add changeset
* change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-08 16:11:43 -08:00
Freddy Boulton
b3b0ea3e11
Add --python-path, --pip-path, --gradio-path CLI arguments to let custom component developers control which executable is used ( #7638 )
...
* backend code
* Frontend code
* add changeset
* Add to FAQ
* lint
* Check pip3/python3
* Check pip/python3 and edit docstrings.
* Build docstring
* more informative error
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-08 15:01:49 -08:00
Abubakar Abid
d0688b3c25
Files should now be supplied as file(...)
in the Client, and some fixes to gr.load()
as well ( #7575 )
...
* more fixes for gr.load()
* client
* add changeset
* format
* docstring
* add assertion
* warning
* add changeset
* add changeset
* changes
* fixes
* more fixes
* fix files
* add test for dir
* add changeset
* Delete .changeset/giant-bears-check.md
* add changeset
* changes
* add changeset
* print
* format
* add changeset
* docs
* add to tests
* format
* add changeset
* move compatibility code out
* fixed
* changes
* changes
* factory method
* add changeset
* changes
* changes
* sse v2.1
* file()
* changes
* typing
* changes
* cleanup
* changes
* changes
* changes
* fixes
* changes
* fix
* add changeset
* changes
* more changes
* abc
* test
* add payloads
* lint
* test
* lint
* changes
* payload
* fixes
* fix tests
* fix
* clean
* fix frontend
* lint
* add changeset
* cleanup
* format
* get examples to show up in loaded spaces
* add filedata prop to frontend
* add skip component parameter
* address feedback
* with meta
* load
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-08 12:29:02 -08:00