WH-Yoshi
2daf3d10f5
Adding maxlength
attribute handling of textarea
and input
HTML element for the gr.TextBox()
component via a max_length
parameter ( #9185 )
...
* Testing - NOT SURE
* changed max_length name
* Finished adding max_length handling
* Changed Readme
* add changeset
* Update test_textbox.py
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-27 23:42:05 +00:00
Abubakar Abid
981731acb7
Fix flaky tests and tests on Windows ( #9059 )
...
* fixes
* fix external tests
* lint
* add changeset
* comment
* fix client
* add changeset
* run on pull request label changes
* lint
* file explorer
* format
* format
* fix windows
* changes
* test
* format backend
* fix
* fix test
* fix tests
* fix
* rate limit
* fix
* trigger
* fix flakiness
* test
* reruns
* reqs
* fix functional tests
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-08 01:41:16 -07:00
Abubakar Abid
5622331da7
Extend pyright
to cover tests as well ( #8856 )
...
* add type to test
* ignore certain demos
* notebooks
* type test_video
* more typing
* more typing
* more typing
* add changeset
* more typing
* more
* more
* files
* ds
* ds
* plots
* audio
push
* annotated
* utils
* routes
* iface
* server
* restore
* external
* dep
* components
* chat interface
* fixes
* blocks
* blocks
* blocks
* blocks
* fixes
* fixes
* format
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-21 19:55:18 -07: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
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
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
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
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
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
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
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
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
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
aliabid94
65437ce832
Improve File Explorer performance ( #7337 )
...
* changes
* add changeset
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* Update gradio/components/file_explorer.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/file_explorer.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/file_explorer_component_events/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* 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-02-13 16:51:47 -06:00
Ari Roffe
10951105b8
Upgrade from numpy's Legacy Random Generator to Random Generator ( #7397 )
...
* Update run.py
* replace all np.random.random with new generator code
* notebooks
---------
Co-authored-by: aroffe99 <ari.roffe@morningstar.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-12 10:20:46 -08:00
Abubakar Abid
49d9c48537
[WIP] Refactor file normalization to be in the backend and remove it from the frontend of each component ( #7183 )
...
* processing
* add changeset
* changes
* add changeset
* add changeset
* changes
* changes
* clean
* changes
* add changeset
* add changeset
* root url
* refactor
* testing
* testing
* log
* logs
* fix
* format
* add changeset
* remove
* add root
* format
* apply to everything
* annoying fix
* fixes
* lint
* fixes
* fixes
* fixes
* fix tests
* fix js tests
* format
* fix python tests
* clean guides
* add changeset
* add changeset
* simplify
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-02-07 14:39:33 -08:00
cswamy
0d36ac05aa
Fixes issue with datatype setting in gr.Dataframe. Setting no longer dependent on col_count ( #7286 )
...
* fixed
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-02 09:34:16 -08:00
cswamy
daaaf9593e
Fixes issues related to gr.Dataframe
receiving an empty dataframe ( #7257 )
...
* fixed
* tested and formatted
* add changeset
* add changeset
* fixes
* revert
* dataframe
* clean
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-01 12:56:43 -08:00
Hannah
e3217b4186
Amend audio waveform colour ( #7207 )
...
* change waveform color option types
* tweak waveform color setting
* snake case tweak
* add changeset
* tweak BE test
* tweak component BE test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-29 19:03:38 +01:00
Freddy Boulton
c60ad4d34a
Use Gallery as input component ( #7148 )
...
* Gallery as input
* add changeset
* Add keep_captions parameter
* revert notebooks
* fix docstring typo
* use tuples
* remove keep_captions
* Update js/app/test/gallery_component_events.spec.ts
Co-authored-by: pngwn <hello@pngwn.io>
* more precise type hint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-01-25 18:51:59 -05:00
Freddy Boulton
b9616528ab
Remove kwargs from template components ( #7142 )
...
* Add test
* add changeset
* Fix type hints
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-24 20:35:51 -05:00
Hannah
bc2cdc1df9
Allow download button for interactive Audio and Video components ( #7104 )
...
* allow download button for interactive audio and video components
* add changeset
* document show_download_button in video.py
* ensure show_download_button is by default true for output and false for input components
* fix component test
* tweak default val
* val tweak
* fix test and add story
* pass editable param where needed
* fix another test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2024-01-23 11:33:59 +01:00
tsukumi
e8b2d8b2f8
Add sample rate config option to gr.Audio()
( #6826 )
...
* Fix a bug that caused the sample rate of audio to be 8000 Hz after trimming and a bug that caused volume amplification and clipping each time trimming was performed
* Fix format
* add changeset
* add sample_rate param to waveform_options
* add changeset
* set WaveformOptions defaults
* formatting
* formatting
* add changeset
* audio
* changes
* add changeset
* tweak sample rate logic + docstring
* Tweak docstring
* formatting
* linting
* type tweak
* remove redundant None check
* tweak waveform lifecycle
* fix test
---------
Co-authored-by: tsukumi <tsukumijima@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-22 10:56:48 -08:00
Abubakar Abid
9cefd2e90a
Refactor examples so they accept data in the same format as is returned by function, rename .as_example()
to .process_example()
( #6933 )
...
* image-editor-examples
* add changeset
* add changeset
* delete changeset
* change to process_example()
* add changeset
* changes for all components until dataset.py
* rename
* fix checkboxgroup
* format
* changes
* add changeset
* changes
* add changeset
* radio
* add changeset
* changes
* add changeset
* changes
* examples
* remove print
* fix
* clean
* add changeset
* fix tests
* fix tests
* fix test
* fix
* add changeset
* fix video example
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-10 16:35:25 -08:00
Abubakar Abid
623bc1aeb1
Switch default order for sources for gr.Video
so that upload is the default ( #6994 )
...
* switch default video source
* add changeset
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-10 12:02:53 -08:00
Abubakar Abid
e671e5415f
Allow gr.ClearButton
and gr.DuplicateButton
to be made hidden (and otherwise updated) ( #6932 )
...
* clear visible
* test
* other buttons
* add changeset
* move resource to block cache
* revert
* Revert "revert"
This reverts commit 9830f253ac
.
* notebook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-03 11:29:16 -08:00
Josh Wilson
31c23166f0
fix issue 6873: File with file_count='directory' bug ( #6874 )
...
* fix issue 6873: File with file_count='directory' bug
* add changeset
* fixes
---------
Co-authored-by: Joshua Wilson <uqjwil54@uq.edu.au>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-26 11:57:49 -08:00
Hannah
50496f967f
Adjust rounding logic when precision is None
in gr.Number()
( #6829 )
...
* adjust precision handling
add test
* add changeset
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-18 23:42:19 +00:00
Abubakar Abid
c352811f76
Adds docstrings for gr.WaveformOptions
, gr.Brush
, and gr.Eraser
, fixes examples for ImageEditor
, and allows individual images to be used as the initial value
for ImageEditor
( #6799 )
...
* tweaks
* add changeset
* adding image editor
* changes
* add changeset
* docs
* add changeset
* add changeset
* refactor
* format
* example
* add changeset
* image editor
* add changeset
* commit
* added test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-15 10:43:39 -08:00
Abubakar Abid
a807ede818
Fix backend tests on Windows ( #6781 )
...
* hotfix
* testing
* test
* fix
* fix
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-14 11:23:30 -08:00
Freddy Boulton
c9673cacd6
Fix directory-only glob for FileExplorer ( #6689 )
...
* Fix glob
* add changeset
* Fix test
* lint
* sort
* Remove empty
* Select directory + test
* Workign fix
* WOrkign fix
* Directory click 😅
* add changeset
* Fix test
* Add dirs
* Select directory + test
* WOrkign fix
* Directory click 😅
* WIP
* add code
* Lint
* Use same color as file icon
* Fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-12 16:39:11 -08:00
Hannah
3240d042e9
Add editable
parameter to Audio ( #6745 )
...
* add editable param to audio and add story
* add changeset
* fix test
* fix test again
* tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-11 18:42:21 +01:00
Yuichiro Tachibana (Tsuchiya)
9a5811df92
Fix the download button of the gr.Gallery()
component to work ( #6487 )
...
* Fix the download button of the `gr.Gallery()` component to work
* Refactoring js/gallery/shared/Gallery.svelte
* Fix `gr.Gallery()` to set `orig_name` for URLs
* Fix Gallery.postprocess()
* Fix `download()` to fallback to `window.open()` when CORS is not allowed
* Fix `gr.Gallery` to leave as None so it will be replaced with a local cache path and restore the `<a>` tag-based download feature on the frontend
* Align a variable name to its type name
* Fix Gallery's tests
* Fix the frontend test for gallery
* Revert "Fix `gr.Gallery` to leave as None so it will be replaced with a local cache path and restore the `<a>` tag-based download feature on the frontend"
This reverts commit d754980cc27ded760bfc26df4310f913c2c6944a.
* Revert "Fix Gallery's tests"
This reverts commit 4e2aa3fff1
.
* Revert "Fix the frontend test for gallery"
This reverts commit 007caa23e7
.
* Fix for linter
* Add a test about the download button
* Fix type defs on Gallery.postprocess
* Improve TestGallery
* add changeset
* Update gradio/components/gallery.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/gallery.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Revert "Update gradio/components/gallery.py"
This reverts commit 4d6e127305
.
* Revert "Update gradio/components/gallery.py"
This reverts commit f2bfad0744
.
* Use `tuple` instead of `typing.Tuple`
* Revert "Use `tuple` instead of `typing.Tuple`"
This reverts commit 69ab93cad4
.
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-12-09 17:58:19 +01:00
Freddy Boulton
fe40308894
Rotate Images to Upright Position in preprocess ( #6676 )
...
* Code
* add changeset
* remove comment
* Add back try except
* Add code
* Use warning
* Use warning
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-07 13:16:48 -05:00
D V
8a70e83db9
switch from black to ruff formatter ( #6543 )
...
* migrate from black to ruff
* fix script and dependencies
* applying ruff
* add changeset
* add changeset
* address ruff feedback
* replace linter
* fixed typing
* fix typing
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-06 15:16:32 -08:00
cswamy
7cbf96e0bd
Issue 5245: consolidate usage of requests and httpx ( #6598 )
...
* issue 5245 commit 1
* formatted
* add changeset
* fixes
* fixes
* make changes in client too
* remove requests from client
* add changeset
* add changeset
* Fixes to test_utils.py in client
* fixes in client utils.py and test_utils.py
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-12-05 14:18:09 -08:00
v-chabaux
13ace035ed
Update file_explorer.py - Fixing error if nothing selected in file_count=single mode (return None rather) ( #6607 )
...
* Update file_explorer.py
Fixing error if nothing selected in file_count=single mode (return None rather)
* add changeset
* added unit tests
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-30 08:33:10 +00:00
Abubakar Abid
de998b2812
Processes avatar_images
for gr.Chatbot
and icon
for gr.Button
correctly, so that respective files are moved to cache ( #6379 )
...
* format
* add changeset
* add changeset
* add changeset
* whoops fix
* notebook
* tests
* refactor
* refactor
* format
* added test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-11 23:13:27 -08:00
Abubakar Abid
d31d8c6ad8
Allows sources
to be a string for gr.Image
( #6378 )
...
* fixes
* components
* add changeset
* sources
* video
* add changeset
* fixes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-11 15:18:02 -08:00
Abubakar Abid
506ab9e4b4
Fix backend tests on CI ( #6330 )
...
* test flaky
* reduce num tests
* fail intenationally
* add back
* revert test changes
* remove coverage
* diff
* fix tests
* format
2023-11-08 19:36:10 -08:00
Hannah
5551d8e439
Fix sources
list order in test_components.py
( #6321 )
...
* fix sources list ordering
* revert ruff change
2023-11-07 17:22:42 +01:00
Abubakar Abid
dfdaf10926
Fix data model for gr.DataFrame
( #6310 )
...
* datamodel for df
* add changeset
* fix
* Add code
* reduce
* trigger ci
* typing
* union
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-11-06 19:04:23 -08:00
Freddy Boulton
92278729ee
Gallery preview fix and optionally skip download of urls in postprcess ( #6288 )
...
* Add code
* add changeset
* Use urls from our s3 bucket
* Add notebook code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-03 18:39:25 -04:00
Abubakar Abid
12d8e90a16
Fixes input Image
component with streaming=True
( #6272 )
...
* fix streaming
* cleanpu
* add changeset
* fix
* docstrings and tests
* notebooks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 17:38:13 -07:00