Smirking Kitsune
d0e93d70e8
Fix for create_or_modify_pyi read_text Windows Issue in component_meta.py ( #9242 )
...
* Fix for create_or_modify_pyi read_text in component_meta.py
In some environments the `read_text()` call in `create_or_modify_pyi` will not use expected encoding when reading the `source_file`. In Unix environments (and presumably MacOS though I have not tested), this will default to use the 'utf-8' encoding, which is what the `source_file` are encoded in. In Windows, it seems to default to a different encoding when 'utf-8' should be selected.
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-09-02 17:00:47 +00:00
pngwn
3817d82f09
disable cache ( #9237 )
...
* disable cache
* disable cache
2024-09-01 23:58:47 +08:00
pngwn
5bf00b7524
make all component SSR compatible ( #9187 )
...
* asd
* fixes
* make all components ssr compatible
* remove files
* add changeset
* add changeset
* review
* format
* clean
* address comments
* tweaks utils
* add changeset
* fix plot and audio
* format
* fix nativeplot
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-31 06:19:51 +00:00
SK
5f2e047c2c
Add a 'None' option to the gradio.Image component to disable image_m… ( #9225 )
...
* Add a 'None' option to the gradio.Image component to disable image_mode conversion behavior
* Set None option to None Keyword
* add changeset
* changes
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-30 21:54:11 +00:00
Ali Abdalla
284fafb215
Fix pr previews cloudflare ( #9209 )
...
* tet
* add changeset
* fix branch to preview
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-29 02:22:45 +00:00
Ali Abdalla
5878fb189c
correct path ( #9208 )
2024-08-29 01:42:26 +00:00
Ali Abdalla
bdbcf7b0e3
Cloudflare migration ( #9206 )
...
* cloudflare packages
* cloudflare github action
* remove comment
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-28 18:07:38 -07:00
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
Freddy Boulton
ab142ee13d
Fix serialization error in curl api ( #9189 )
...
* Fix code
* add changeset
* Fix code
* fix
* add another test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-27 18:49:36 -04:00
pngwn
4a85559219
Fic install deps again ( #9177 )
...
* always install pnpm
* clean upo
2024-08-22 20:10:09 +01:00
pngwn
28136bbda7
fix install ( #9174 )
2024-08-22 19:03:36 +01:00
pngwn
2b6cbf2590
Fix published package exports ( #9163 )
...
* rename
* save patch
* fix everything
* format
* rm file
* fix stuff
* tweaks
* tweaks
* tweaks
* tweaks
* tweaks
* asd
* asd
* asd
* asd
* asd
* asd
* asd
* fix
* Fix scripts/run_lite.sh and scripts/build_lite.sh (#9170 )
* fixes
* fixes
* asd
* asd
* asd
* review comments
* fiux types
* fiux types
* make fileexpolorer public
* format
* lint
* lint
---------
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2024-08-22 16:38:45 +00:00
pngwn
c725c04b4e
add command to fe install deps ( #9171 )
...
* add command to fe install deps
* tweak
2024-08-22 12:43:22 +01:00
Ali Abdalla
8f5a8950c9
Fix native plot lite demos ( #9160 )
...
* add demos
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-21 18:40:46 -07:00
Gradio PR Bot
fac5a7fafe
chore: update versions ( #9072 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@gradio/simpletextbox@0.2.12
@gradio/slider@0.4.12
@gradio/spa@0.0.2
@gradio/state@0.1.1
@gradio/statustracker@0.7.5
@gradio/storybook@0.6.1
@gradio/tabitem@0.2.14
@gradio/tabs@0.2.13
@gradio/textbox@0.6.11
@gradio/theme@0.2.4
@gradio/timer@0.3.2
@gradio/tooltip@0.1.1
@gradio/tootils@0.6.4
@gradio/upload@0.12.3
@gradio/uploadbutton@0.6.18
@gradio/utils@0.6.0
@gradio/video@0.10.3
@gradio/wasm@0.13.0
@gradio/accordion@0.3.22
@gradio/annotatedimage@0.7.1
@gradio/app@1.40.0
@gradio/atoms@0.8.0
@gradio/audio@0.13.3
@gradio/box@0.1.24
@gradio/build@0.0.2
@gradio/button@0.2.50
@gradio/chatbot@0.13.0
@gradio/checkbox@0.3.12
@gradio/checkboxgroup@0.5.12
@gradio/client@1.5.1
@gradio/code@0.9.0
@gradio/colorpicker@0.3.12
@gradio/column@0.1.3
@gradio/component-test@0.1.0
@gradio/core@0.0.2
@gradio/dataframe@0.10.0
@gradio/dataset@0.2.4
@gradio/datetime@0.1.3
@gradio/downloadbutton@0.1.27
@gradio/dropdown@0.7.12
@gradio/fallback@0.3.12
@gradio/file@0.9.3
@gradio/fileexplorer@0.4.18
@gradio/form@0.1.24
@gradio/gallery@0.12.1
@gradio/group@0.1.2
@gradio/highlightedtext@0.7.6
@gradio/html@0.3.5
@gradio/icons@0.7.1
@gradio/image@0.15.0
@gradio/imageeditor@0.10.0
@gradio/json@0.4.0
@gradio/label@0.3.12
@gradio/lite@4.42.0
@gradio/markdown@0.9.3
@gradio/model3d@0.12.1
@gradio/multimodaltextbox@0.5.6
@gradio/nativeplot@0.3.1
@gradio/number@0.4.12
@gradio/paramviewer@0.4.21
@gradio/plot@0.6.4
@gradio/preview@0.11.0
@gradio/radio@0.5.12
@gradio/row@0.1.4
@gradio/simpledropdown@0.2.12
@gradio/simpleimage@0.7.0
gradio@4.42.0
gradio_test@0.5.1
website@0.38.0
2024-08-21 11:35:46 -07:00
Dawood Khan
173c7b8624
Chatbot Image size and list fixes ( #9161 )
...
* fixes
* add changeset
* stor
* radius
* max height
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-21 13:43:56 -04:00
Hannah
ba6322ec2b
Fix image height content fit ( #9116 )
...
* fix image height content fit
* add changeset
* use `scale-down` instead of `contain`
* add changeset
* fix spacing
* apply image uploader styling to image preview
* Fix image/shared/ImagePreview style
* Fix
* Remove unnecessary styles from .image-frame
* Revert prev for the fullscreen mode
* Add stories
* fix python test
* move story files, fix python tests
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2024-08-21 18:41:40 +01:00
pngwn
4375f2e28a
tweak ( #9165 )
2024-08-21 18:32:10 +01:00
Freddy Boulton
39ee02523a
Set python version in CI cache key ( #9164 )
...
* Set python version in CI cache key
* restore key
2024-08-21 12:25:37 -04:00
Hannah
41d5ab987b
Add placeholder
param to Image and ImageEditor to replace upload image text ( #8930 )
2024-08-21 01:22:17 +02:00
Abubakar Abid
747013bbac
Allow accessing the entire row of selected values in gr.DataFrame
( #9128 )
...
* s
* changes
* docstring
* add changeset
* format
* typing
* revert
* add changeset
* changes
* add changeset
* add changeset
* js
* add changeset
* remove col value
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-20 21:08:29 +00:00
aliabid94
f1ef94a435
Open media type files in browser ( #9151 )
...
* changes
* add changeset
* 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>
2024-08-20 11:31:13 -07:00
Freddy Boulton
675b50b2e5
Use python 3.10 ( #9158 )
2024-08-20 13:52:53 -04:00
pngwn
c41fc7021c
Update previews-build.yml ( #9152 )
2024-08-20 10:39:59 +01:00
Abubakar Abid
8715f10339
Allow gr.Request
to work with ZeroGPU ( #9148 )
...
* pickleable
* add test
* routes
* add changeset
* one mroe test
* format
* rename test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-19 15:02:28 -07:00
Hannah
04b7d327ec
Allow drag and replace image in gr.Image
and Multimodal textbox ( #9031 )
...
* allow dragging image over current image value in imageeditor
* add changeset
* add drag to image
* add changeset
* type fixes
* tweak
* tweak
* add test
* add changeset
* revert image editor changes (i.e. give up)
* add changeset
* add changeset
* tweak
* Ensure drag and drop functionality works in Multimodal textbox (#9125 )
* allow uploading files via drag
* wrap tweak
* * fix input
* improve a11y
* fix thumbnail scrolling
* tweak
* add changeset
* add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-19 15:46:54 +01:00
pngwn
de1f7a2b89
Create test app for components / SSR testing. ( #9138 )
...
* test app
* test app
* add changeset
* private
* title
* add changeset
* format
* asd
* asd
* asd
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-19 11:00:03 +01:00
pngwn
523bc29b2e
Update action.yml ( #9142 )
2024-08-19 00:10:58 +01:00
Lucain
6e7d9e5b84
Deal with OAuth too many redirects ( #8951 )
...
* Deal with OAuth too many redirects
* add changeset
* Redirect to non-iframe view in case of redirect
* add changeset
* apply suggestions
* use constant for MAX_REDIRECTS
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-15 21:07:08 +00:00
Abubakar Abid
8a3e1e289e
Add more demos to deploy scripts ( #9127 )
...
* add demos
* tweak demo
2024-08-15 20:49:41 +00:00
Freddy Boulton
30b5d6f2b7
Fix chatinterface multimodal bug ( #9119 )
...
* Add test
* add changeset
* comments
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-15 14:50:32 +00:00
pngwn
e1c404da11
setup npm-previews of all packages ( #9118 )
...
* add workflow
* fix pkg jsons
* workflow name
* add changeset
* fix
* add changeset
* fix build command
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-15 12:56:17 +01:00
Ali Abdalla
474102a8b4
Better text styling on docs ( #9108 )
...
* margin and size
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-14 11:51:50 -07:00
Freddy Boulton
bbbd1f5ebe
Be able to set optimizeDeps options in gradio.config.js ( #9091 )
...
* Add code
* add changeset
* build
* Remove unused import
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-14 18:15:28 +00:00
pngwn
13010fdfd7
fix dev ( #9115 )
...
* fix asset locations
* fix changeset
2024-08-14 12:52:16 -04:00
pngwn
e1e7ad3add
fix version + pkg name ( #9110 )
...
* fix version + pkg name
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-14 15:43:01 +01:00
Freddy Boulton
cf02f7d785
Fix chatinterface e2e test ( #9104 )
...
* Refactor test
* comment
* Fix image
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-14 10:42:34 -04:00
pngwn
efdc3231a7
Initial SSR refactor ( #9102 )
...
* changes
* asd
* fix tests
* fix lint
* fix ts
* fix ts
* cleanup
* cleanup
* fix
* Apply suggestions from code review
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
* fix
* add changeset
* fix gitignore
* fix changeset
* fix lockfile
* format
* fix
* add changeset
* githunore
* kit bopilerplate
* add changeset
* fix website
* add changeset
---------
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-14 15:17:36 +01:00
Yuichiro Tachibana (Tsuchiya)
f6b2b97d47
Initialize the client with the fake host for Lite server ( #8935 )
...
* Initialize the client with the fake host for Lite server
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-08-14 15:50:16 +09:00
pngwn
15a690fa96
fix workflow ( #9100 )
2024-08-13 16:59:49 +00:00
Hannah
87e3537342
Add height param to gr.JSON ( #9023 )
...
* add height param and styles
* use lines instead of height
* replace height with lines
* add param and add description to gr.code
* add title attr
* remove styling
* format
* fix test
* add changeset
* revert to height
* remove lines logic
* add changeset
* code param tweak
* remove redundant code
* tweak test
* revert onDestroy removal
* fix test
* tweak
* docstring
* height fix
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-13 09:49:34 +00:00
Abubakar Abid
60650d84b2
Reset Dataset
page to 0 when samples change ( #9093 )
...
* checkout
* format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-12 15:12:55 -07:00
pngwn
6e641e2133
CI dependency hardening ( #9092 )
2024-08-12 23:09:07 +01:00
Freddy Boulton
96f8ffa5ee
Set non-zero exit codes for custom component build and install commands when failures occur ( #9088 )
...
* Exit codes
* add changeset
* Fix text
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-12 15:09:52 -04:00
Freddy Boulton
508ac84bc2
Set orig_name in downloadbutton postprocess ( #9089 )
...
* Set orig_name in downloadbutton postprocess
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-12 15:04:33 -04:00
JackismyShephard
d6dc3846fd
Add more typing to event listeners ( #9079 )
...
* add more typing to event listeners
Add more specific typing for auth callable
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-12 11:53:47 -07:00
David Berenstein
1a9d7297c1
Catch OSErrors in HuggingFaceDatasetSaver._deserialize_components
( #9078 )
...
* Update flagging.py
* add changeset
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-12 12:56:59 -04:00
Hannah
5350f1feb2
Add copy all messages button to chatbot ( #9013 )
...
* add copy all button to chatbot
* tweaks
* lint
* use value.url for media
* remove import
* add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-12 14:08:12 +00:00
Ali Abdalla
62ed369efa
Fix production website deploy action to only deploy from main ( #9082 )
...
* add not starts with
* switch to contains
* switch to equals
2024-08-11 21:03:45 +00:00
Ali Abdalla
3258968371
Add warning to guides and change styling of tip ( #9075 )
...
* add warning and styling
* add changeset
* forward every trailing slash that vercel lets through
* fix weird tw thing
* fix error
* better fix for css trailing slash issue
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-09 17:20:12 -07:00