pngwn
dfd03f38bd
chore: update versions ( #8069 )
...
* chore: update versions
* Revert @gradio/code
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-04-25 23:08:27 +00:00
pngwn
624f9b9477
make gradio dev tools a local dependency rather than bundling ( #8066 )
2024-04-19 18:41:40 -04: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
ddc5d3866c
chore: update versions ( #7992 )
...
* chore: update versions
* changeset
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-18 18:09:10 +00: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
92139f3d7d
refresh the ImageEditor
UI ( #8042 )
...
* changes
* icons
* asd
* add changeset
* ui
* fix empty text position
* fix button toggle
* cleanup
* add changeset
* lint
* fix test
* fix again
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-04-17 16:45:35 -04:00
Ernie Chu
d6c289b346
round [x, y, w, h] before cropping to avoid unexpected interpolation on pixel values ( #8046 )
2024-04-17 21:34:01 +02:00
hrrbay
2a5cb97824
ensure ImageEditor
always draws at the correct position ( #7959 )
...
* reset layers on dimension change
* add changeset
* resets only if layer has dimension missmatch
* fix formatting
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-04-15 21:47:09 +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
pngwn
b561a27816
chore: update versions ( #7914 )
2024-04-08 20:07:24 +01:00
Bocheng Zou
867ff16cd4
Trigger the "clear" event of Image Editor ( #7817 )
2024-04-03 23:45:59 +01:00
pngwn
bbdbd28453
chore: update versions ( #7871 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-02 13:33:48 -04:00
pngwn
d95a1a44d6
chore: update versions ( #7826 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-27 14:25:36 -07:00
pngwn
bf5110a26b
chore: update versions ( #7771 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-25 12:35:44 -04:00
Hannah
4da44c4589
add diff threshold to image editor ( #7763 )
2024-03-20 17:09:04 +00:00
pngwn
4da194fc77
chore: update versions ( #7669 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-19 13:50:31 -07:00
Hannah
a2badf151e
Migrate to Storybook 8 ( #7743 )
...
* migrate to storybook 8
* add changeset
* formatting
* test
* pnpm lock
* revert test
* update testing-library
* pass (and improve) failing tests
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-19 11:22:21 -07:00
pngwn
6683ab2589
chore: update versions ( #7630 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-08 16:35:23 -08:00
pngwn
d8636bb050
chore: update versions ( #7626 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-06 17:13:41 +00:00
pngwn
3d270d43f9
chore: update versions ( #7526 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-05 16:54:36 -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
pngwn
bacbc70fa1
chore: update versions ( #7463 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-22 13:29:11 -08:00
pngwn
1e5e787999
chore: update versions ( #7426 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-16 12:28:13 -08:00
pngwn
7b84bc4f05
chore: update versions ( #7387 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-14 14:17:50 -08:00
pngwn
bb4126cc24
chore: update versions ( #7338 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-09 22:15:34 -08:00
Hannah
2244059cdb
Ensure CSS .dark
rule selectors are applied ( #7355 )
...
* fix ignored dark rules
* add changeset
* add changeset
* tweak
* test threshold
* test threshold again
* remove threshold and fix story
* test
* story tweak
* story test
* separate undo/redo from large interaction story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-09 00:39:40 +01:00
Hannah
9905e00e42
fix story again ( #7357 )
2024-02-08 21:52:33 +01:00
Hannah
b25f76c5df
increase threshold ( #7356 )
2024-02-08 17:31:16 +00: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
pngwn
2382f741ff
chore: update versions ( #7177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-06 15:19:29 -08:00
Hannah
733ca266bb
Ensure examples Images displays as expected ( #7325 )
...
* Tweak image size
* add changeset
* add changeset
* fix broken story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-06 21:02:18 +01:00
Hannah
200e2518e4
Add gr.Image
interaction test + gr.ImageEditor
interaction test improvement ( #7309 )
...
* add source selection interaction story
* add changeset
* add source selection e2e test
* add changeset
* add diff threshold to imageeditor story
* remove redundant <button>
* add changeset
* typo
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-06 11:20:20 -08:00
Hannah
5181957706
Add mobile Chromatic tests ( #7222 )
...
* Add mobile story tests
* add layout stories
* add changeset
* configure viewports
* formatting
* Remove tablet stories + add plot story
* add changeset
* add mobile tests to layout stories
* fix story
* fix 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: pngwn <hello@pngwn.io>
2024-02-02 14:21:48 +00:00
Hannah
faead1403c
Show label in interactive image editor ( #7219 )
...
* show label in interative image editor
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-30 15:19:05 +00:00
pngwn
138761226a
chore: update versions ( #7083 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-25 16:10:24 -08:00
pngwn
0a2ba5d0b0
chore: update versions ( #7004 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-19 00:13:02 -05: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
pngwn
8f69f9ef50
chore: update versions ( #6960 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-11 01:42:25 +04:00
Dawood Khan
640b7fe052
Fix issue with Webcam Recording ( #6885 )
2024-01-05 19:18:59 -05:00
pngwn
3a0a11cf42
chore: update versions ( #6882 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-04 16:02:25 -08:00
pngwn
227221f887
chore: update versions ( #6855 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-22 13:05:17 -08:00
pngwn
160e389580
chore: update versions ( #6825 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-19 16:17:10 -08:00
Hannah
1401d99ade
Fix ImageEditor
interaction story ( #6809 )
...
* fix test + align + symbol to centre of button
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-12-18 15:07:34 +00:00
pngwn
9ea7b6f05c
chore: update versions ( #6797 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-15 15:39:46 -08: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
pngwn
dc131b64f0
chore: update versions ( #6779 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-14 13:14:57 -08:00
pngwn
1459119c6e
chore: update versions ( #6670 )
...
* chore: update versions
* change
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ali Abid <ubuntu@ip-172-31-25-241.us-west-2.compute.internal>
2023-12-12 18:32:54 -08:00
Hannah
053bec98be
Improve CSS token documentation in Storybook ( #6399 )
...
* remove width and heights from icons
* add changeset
* add global css vars (light)
* add changeset
* add changeset
* Remove component stories (will document these elsewhere)
* remove rtl param in chatbot story for non rtl text
* formatting
* remove redundant class
* add changeset
* fix row story
* fix broken groot file stories
* revert lock changes
* add changeset
* lockfile
* pnpm lock
* remove colour from webcam icons
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-08 16:23:14 +01:00
pngwn
fce80ac804
chore: update versions ( #6575 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-04 16:14:12 -08:00
pngwn
2c39174343
chore: update versions ( #6514 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-22 18:43:10 -05:00