Gradio PR Bot
81a1132d30
chore: update versions ( #9298 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-10 14:38:52 -07:00
Freddy Boulton
8f8e1c6a0b
Fix multiple trigger bug when function has js ( #9188 )
...
* add code
* add changeset
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-10 13:18:31 -07:00
aliabid94
8362a10a7e
Fix scrollbars everywhere ( #9276 )
...
* changes
* add changeset
* scroll fix
* remove .json css, adjust scroll height to account for label
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-09-09 23:23:59 -07:00
Ikko Eltociear Ashimine
bcb3a2b9a0
chore: update error.svx ( #9291 )
...
* chore: update error.svx
occured -> occurred
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-09 11:26:30 -04:00
Gradio PR Bot
b635a31714
chore: update versions ( #9168 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-06 09:10:25 +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
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
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
Gradio PR Bot
fac5a7fafe
chore: update versions ( #9072 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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
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
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
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
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
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
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
Col0ring
7b288cf677
Fix unexpected rendering of Dataset ( #8987 )
...
* Fix unexpected rendering of Dataset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-08-09 09:06:56 -07:00
pngwn
54da6da115
chore: update versions ( #8960 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-08 11:20:08 +01:00
Ali Abdalla
f29aef4528
Fix trailing slash link on docs ( #9067 )
...
* explicit trailing slash never
* add changeset
* add changeset
* fix link
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-07 23:25:21 -07:00
Ali Abdalla
890bae3942
Filter out type ignore comments from demos on website ( #9043 )
...
* hide type ignore comments
* add changeset
* replace #type
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-07 22:14:48 -07:00
aliabid94
4ba7b238e2
Improve plot guide, add double clicking to plots ( #9064 )
...
* changes
* add changeset
* chages
* 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-07 19:17:14 -07:00
Hannah
492d422df6
Amend show_label
in gr.HTML to show optional label ( #9024 )
...
* amend show_label param and add label to component
* fix test
* fix test
* fix test
2024-08-07 09:19:56 -07:00
Ali Abdalla
6584aace98
Website fixes for mobile ( #8857 )
...
* better header for mobile
* add changeset
* nicer border
* style header
* better search overlay
* responsive changes
* more mobile responsiveness
* docs and guides mobile responsive
* formatting
* fix get started button
* fix header
* test without lite
* formatting
* secondary menu docs
* fix type overflow in paramtable
* playground header
* playground on mobile
* small changes
* formatting
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 21:20:24 -07:00
Hannah
bf6bbd971a
Add min/max-imize button to gr.Image and gr.Gallery ( #8964 )
...
* add max/min-imize and zoom in and out to image preview
* add full screen icon to gallery
* add stories
* add changeset
* use native full screen api
* remove zoom in/out
* add changeset
* tweaks
* remove zoom prop
* fix ui test
* add annotated image btns
* add changeset
* format
* ruff format
* fix test
* remove
* tweak
* fix test
* format
* amend bool check
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-08-05 23:45:14 +01:00
Hannah
a2e36c34c8
add cursor styling ( #9003 )
2024-08-05 23:44:13 +01:00
Freddy Boulton
4d8a473632
Refactor Chatinterface to use Chatbot instead of gr.State variables ( #8847 )
...
* add code
* add changeset
* fix
* fix multimodal case
* e2e test fix
* fix: wrong named param check for js client (#8820 )
* fix: wrong named param check for js client
* rearrange type imports
* add changeset
* fix: workaround for undefined endpoint_info
---------
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>
* trigger ci
* Add code
* Fix
* Add code
* code
* code'
* Add code
* Wait for upload
* fix tests
* trigger ci
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: JacobLinCool <jacoblincool@gmail.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-05 15:13:32 -04:00
Hannah
3feea64a65
Prevent overflow in Model3D ( #8975 )
...
* add overflow and radius css properties
* add changeset
* add changeset
* add changes to input
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 17:48:42 +01:00
pngwn
d30432e9c6
harden CI ( #8965 )
...
* test pr
* conditional
* conditional
* conditional
* conditional
* conditional
* changes
* changes
* add changeset
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 15:27:26 +01:00
pngwn
008d84b042
chore: update versions ( #8883 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-31 13:27:38 -07:00
Hannah
1e16f67ba2
Fix check icon in gr.JSON and gr.Code ( #8949 )
...
* fix check icon
* fix check in gr.Code
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-31 12:53:12 -07:00
Hannah
5010e9579e
Add overflow: wrap
to JSON to catch overflow in xs device widths ( #8954 )
...
* add overflow
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-31 12:52:11 -07:00
Freddy Boulton
a544a66008
Fix flake in e2e chatbot test ( #8946 )
...
* Fix flake
* Fix flakes
* Fix test'
2024-07-31 14:59:44 +00:00
Hannah
600c97c807
Allow viewing JSON as list or dict with show_indices
param ( #8932 )
...
* add line numbers and collapse + expand logic
* add story test and style tweaks
* add changeset
* allow expanding via preview
* story tweaks
* remove mobile/desktop story tests
* remove unused thing
* add mode param to view json as list
* add story
* add changeset
* add open param
* amend test
* * add cm-like theme colors
* prevent copy + pasting line numbers and toggle
* a11y tweaks
* remove mode as param and default to list view
* Revert "remove mode as param and default to list view"
This reverts commit 9051f15c5f
.
* Update gradio/components/json_component.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* add changeset
* tweak
* fix nit
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-07-30 23:43:22 +00:00
aliabid94
96d36d70ad
Restore plot label angles ( #8947 )
...
* changes
* add changeset
* Update gradio/components/native_plot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/native_plot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/native_plot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* 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-07-30 16:00:58 -07:00
Hannah
3539787ebb
Add line numbering and collapse/expand logic to gr.JSON ( #8929 )
...
* add line numbers and collapse + expand logic
* add story test and style tweaks
* add changeset
* allow expanding via preview
* story tweaks
* remove mobile/desktop story tests
* remove unused thing
* add open param
* amend test
* * add cm-like theme colors
* prevent copy + pasting line numbers and toggle
* a11y tweaks
* update lines on rerender
* fix test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-30 23:58:03 +01:00
aliabid94
9b42ba8f10
Update guides esp plots ( #8907 )
...
* changes
* changes
* revert changes
* changes
* add changeset
* notebooks script
* 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: Ali Abdalla <ali.si3luwa@gmail.com>
2024-07-29 22:08:51 -07:00
Hannah
4b14ea860d
Allow use of file extensions in gr.File in iOS ( #8905 )
...
* process file extensions in ios
* tweak
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-29 19:24:36 +01:00