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
Shubham raj
6ebf0cedf5
Add support for diffuser pipelines in gr.Interface.from_pipeline(). ( #7265 )
...
* Add support for StableDiffusionPipeline
* Add support for Stable Diffusion pipelines in interface.from_pipeline(), import transformers and diffusers conditionally
* add changeset
* refactor: create helpers method to handle transformers and diffusers pipelines and refactored load from pipeline to use helper methods.
* Update test requirements.in, and generated requirements.txt after adding diffusers as dependency
* Fix reportPrivateImportUsage on diffusers pipelines
* Format code using ruff
* PIL is required library so moved it out of if block
* Add return statement to every if block and fix typo
* check module name of pipeline to decide how to handle that pipeline
* refactored if statements in pipeline_helper module
* exclude gradio from test requirements
* update tests requirements.txt using pip-compile --upgrade
* fix failing typechecks
* Add unit tests for one transformer and diffuser load from pipeline
* Refactor code to return dict from every if branch and replace all elifs
* Update requirements.txt using pip-compile
* Update requirements file
* Update test requirements file
* Add unit tests for handle transfomers and diffusers pipelines functions present in pipelines_helpers.py
* Add support for StableDiffusionPipeline
* Add support for Stable Diffusion pipelines in interface.from_pipeline(), import transformers and diffusers conditionally
* add changeset
* refactor: create helpers method to handle transformers and diffusers pipelines and refactored load from pipeline to use helper methods.
* Update test requirements.in, and generated requirements.txt after adding diffusers as dependency
* Fix reportPrivateImportUsage on diffusers pipelines
* Format code using ruff
* PIL is required library so moved it out of if block
* Add return statement to every if block and fix typo
* check module name of pipeline to decide how to handle that pipeline
* refactored if statements in pipeline_helper module
* exclude gradio from test requirements
* update tests requirements.txt using pip-compile --upgrade
* fix failing typechecks
* Add unit tests for one transformer and diffuser load from pipeline
* Refactor code to return dict from every if branch and replace all elifs
* Update requirements.txt using pip-compile
* Update requirements file
* Update test requirements file
* Add unit tests for handle transfomers and diffusers pipelines functions present in pipelines_helpers.py
* remove gradio from test requirements
* remove ap.py
* formatting and minor cleanup
* changes
* update version
* Version
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-08 11:53:38 -08:00
Abubakar Abid
cb3999eec7
Use x-forwarded-host
header to determine the root url, and let users provide a full root_path
to override the automatically determined root url ( #7641 )
...
* debug
* add changeset
* changes
* add changeset
* fix
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-08 10:15:11 -08:00
Freddy Boulton
0ae1e4486c
Control which files get moved to cache with gr.set_static_paths ( #7618 )
...
* First commit
* Add code
* undo demo changes
* add changeset
* Add documentation
* Rename to set_static_paths
* add changeset
* Fix docstring issue
* add changeset
* Address feedback
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-07 15:39:07 -05:00
Abubakar Abid
a22f3e062d
Fixing root path issue with subpath being repeated twice ( #7624 )
...
* fixing root path
* add changeset
* add changeset
* fix
* add changeset
* replace tests
* prints
* fix
* add test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-06 12:52:01 -08:00
Abubakar Abid
1a4b089e78
Refactor example_inputs()
, separating its logic into two separate methods: example_payload()
and example_value()
( #7620 )
...
* fix
* lint
* add changeset
* add changeset
* example
* checkbox
* fix, add test
* fixes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-06 19:37:14 +00:00
Abubakar Abid
45316dafd4
fix flaky python tests ( #7617 )
...
* fix flaky python tests
* fix
2024-03-05 16:34:24 -08:00
Abubakar Abid
355ed666d9
Fix the root_url
logic for streaming files ( #7614 )
...
* fix
* add changeset
* ignore
* add changeset
* changes
* changes
* linting
* demo
* changes
* blocks
* add changeset
* diff
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-05 15:21:45 -08:00
Abubakar Abid
4d5789e905
Allow mounted Gradio apps to work with external / arbitrary authentication providers ( #7557 )
...
* add parameter
* format
* add changeset
* docstrings
* changes
* changes
* docs
* mark flaky
* test
* docs
* docs
* push
* docs
* Update guides/01_getting-started/03_sharing-your-app.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* fix typecheck
* error
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-03-05 12:41:39 -08:00
Hannah
f26aba00a7
Prevent audio speeding up when trimming ( #7599 )
...
* fix trim region background colour and change showRedo -> show_redo
* tweak audio sampling logic
* add changeset
* add trim_region_color to py docs
* formatting
* use trim_region_color for trim border
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-05 20:10:10 +00:00
Abubakar Abid
d3384cb926
Prevent additional paths that can trigger credential leakage on Windows ( #7598 )
...
* format
* add changeset
* docstring
* fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-05 10:23:33 -08:00
aliabid94
375bfd28d2
Support simplified event api for event only updates ( #7407 )
...
* changes
* add changeset
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chanegs
* 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>
2024-03-05 09:06:53 +00:00
Freddy Boulton
a57e34ef87
Add delete_cache parameter to gr.Blocks to delete files created by app on shutdown ( #7447 )
...
* Add code
* add changeset
* Add code
* trigger ci
* Add schedule
* Fix implementation
* Fix test
* Address comments
* add changeset
* handle examples
* Update guides/01_getting-started/03_sharing-your-app.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix code
* Fix code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-05 01:51:02 +00:00
Abubakar Abid
1c22123268
Fixes method to resolve the root
URLs ( #7565 )
...
* fix
* fix
* add changeset
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-04 07:52:49 -08:00
Abubakar Abid
98aa8082dd
Add /logout
functionality for Gradio auth ( #7547 )
...
* logout
* changes
* add changeset
* documentation
* add test
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-27 14:53:24 -08:00
Abubakar Abid
f84720cd76
Prevent paths beginning with //
or \\
( #7544 )
...
* prevent smb paths on windows
* docstring
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-27 12:34:44 -08:00
Abubakar Abid
eda33b3763
Refactors get_fetchable_url_or_file()
to remove it from the frontend ( #7528 )
...
* fetch
* add changeset
* add changeset
* simplify
* add changeset
* changes
* format
* add changeset
* changes
* format
* fixes
* lint
* fix components
* fixes
* typing
* format frontend
* path
* fixes
* fix stories
* lint
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-26 13:01:00 -08:00
Abubakar Abid
84802ee6a4
Tighten CORS rules ( #7503 )
...
* tighten cors rules
* add changeset
* cors policy
* cors
* add changeset
* lint
* changes
* changes
* changes
* logging
* add null
* changes
* changes
* options
* options
* safe changes
* let browser enforce cors
* clean
* route utils
* fix
* fix test
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-22 11:54:51 -08:00
Abubakar Abid
ddd4d3e4d3
Reverts the revert that dropped changes from 2 PRs ( #7495 )
...
* Revert "Revert "changes""
This reverts commit 032435368d
.
* patch
2024-02-20 18:36:10 -08:00
Ali Abid
032435368d
Revert "changes"
...
This reverts commit 19dd2218dc
, reversing
changes made to 6a93633054
.
2024-02-20 16:21:27 -06:00
Aarni Koskela
17b6840887
Enable Ruff S101 ( #7477 )
...
* Update to Ruff 0.2.2
* Enable Ruff S101; don't use asserts in runtime code, or AssertionErrors for flow control
2024-02-19 13:29:20 -08:00
Abubakar Abid
b5bee49969
fix requirements ( #7459 )
2024-02-16 13:09:29 -08:00
Abubakar Abid
ba747adb87
Make fix in #7444 (Block /file= filepaths that could expose credentials on Windows) more general ( #7453 )
...
* test routes
* chagne
* add changeset
* add changeset
* type fixes
* fix typing issues
* typed dict
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-16 18:09:31 +00:00