Commit Graph

7093 Commits

Author SHA1 Message Date
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>
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
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
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
Freddy Boulton
9fa635a8fd
Fix multimodal chatinterface api bug (#9054)
* fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-08 01:36:14 -07: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
pngwn
6778b8353d
Fix website again again (#9063)
* run the website workflows

* run the website workflows

* asd

* asd
2024-08-07 20:51:55 +01:00