Commit Graph

6964 Commits

Author SHA1 Message Date
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
pngwn
e5407ae82e
Fix website again again (#9062)
* run the website workflows

* run the website workflows

* asd
2024-08-07 20:38:15 +01:00
pngwn
ac6f4d9e8e
Fix website again again (#9061)
* run the website workflows

* run the website workflows
2024-08-07 20:20:04 +01:00
pngwn
3b50d69872
run the website workflows (#9060) 2024-08-07 20:00:05 +01:00
pngwn
7a1e223c34
Ci website (#9058)
* tweaks

* more fix

* changes

* changes

* storybook fix
2024-08-07 19:16:53 +01:00
pngwn
f4cb8cf51c
Ci website (#9057)
* tweaks

* more fix

* changes

* changes
2024-08-07 18:54:10 +01:00
pngwn
8971bfde53
Ci website (#9056)
* tweaks

* more fix

* changes
2024-08-07 18:41:54 +01:00
pngwn
a58b6ac1af
CI tweaks + further security hardening (#9055)
* tweaks

* more fix
2024-08-07 18:27:01 +01:00
Abubakar Abid
8b33393586
Fix show_progress in gr.Interface (#9053)
* fix progress

* test

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-07 10:12:04 -07:00
aliabid94
360350cfc4
Minor fixes (#9021)
* changes

* changes

* changes

* changes

* changes

* add changeset

* 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 09:20:51 -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
Abubakar Abid
0978de8104
Passes gr.Request if type hint is Request | None (#9011)
* changes

* fix for python 3.8, 3.9

* fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-07 08:33:22 -07:00
pngwn
252f03ad4e
Ci docs (#9047)
* update docs

* fix things and add cos

* asd

* asd

* asd

* asd

* tweaks

* tweaks
2024-08-07 10:50:18 +01:00
pngwn
6ace52fb16
Ci docs (#9046)
* update docs

* fix things and add cos

* asd

* asd

* asd

* asd

* tweaks
2024-08-07 10:39:55 +01:00
Abubakar Abid
38b3682c3a
Improvements to FRP client download and usage (#8968)
* wip

* add changeset

* sha256

* add changeset

* hash

* tunneling

* add changeset

* validate ip address

* format

* vendor in hash func

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-07 00:55:38 +00:00
Freddy Boulton
08b5159016
Some tweaks to is_in_or_equal (#9020)
* Add code

* file_explorer test

* dont use fastapi

* Add code

* Update requirements.txt

* Ci security tweaks (#9010)

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* Ci security tweaks (#9012)

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* :[

* add cursor styling (#9003)

* 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>

* Ci security tweaks (#9014)

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* :[

* asd

* asd (#9015)

* Ci security tweaks take seventy three (#9016)

* asd

* asd

* asd

* Ci security tweaks take seventy three (#9017)

* asd

* asd

* asd

* asd

* Ci security tweaks take seventy three (#9018)

* asd

* asd

* asd

* asd

* adsa

* asd

* Ci security tweaks take seventy three (#9019)

* asd

* asd

* asd

* asd

* adsa

* asd

* asd

* 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>

* Ci security tweaks take seventy three (#9025)

* asd

* asd

* asd

* asd

* adsa

* asd

* asd

* asd

* Ci security tweaks take seventy three (#9026)

* asd

* asd

* asd

* asd

* adsa

* asd

* asd

* asd

* fix

* asd (#9027)

* fix (#9028)

* Ci statuses (#9030)

* fix

* asd

* Update tests

* add changeset

* Add code

* add changeset

* Comments

---------

Co-authored-by: pngwn <hello@pngwn.io>
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: Ali Abdalla <ali.si3luwa@gmail.com>
2024-08-06 18:53:10 -04:00
pngwn
c12f600a98
Ci docs (#9041)
* update docs

* fix things and add cos

* asd

* asd

* asd

* asd
2024-08-06 22:06:16 +01:00
pngwn
5403c58b61
Ci docs (#9040)
* update docs

* fix things and add cos

* asd

* asd

* asd
2024-08-06 21:57:00 +01:00
pngwn
6ec704db31
Ci docs (#9039)
* update docs

* fix things and add cos

* asd

* asd
2024-08-06 21:35:21 +01:00
pngwn
3efa6dbdd1
Ci docs (#9038)
* update docs

* fix things and add cos

* asd
2024-08-06 21:23:09 +01:00
pngwn
ddff2f0129
Ci docs (#9037)
* update docs

* fix things and add cos
2024-08-06 21:05:42 +01:00
pngwn
e56bb9e981
split functional test between core and lite to speed up CI (#9036)
* maybe?

* maybe?

* maybe?

* split functional tests

* tweak

* tweak
2024-08-06 20:32:52 +01:00
pngwn
f4dd74f043
Ci statuses (#9035)
* fix

* asd

* asd

* asd

* asd

* asd
2024-08-06 17:46:55 +01:00
pngwn
63bb64489a
Ci statuses (#9034)
* fix

* asd

* asd

* asd

* asd
2024-08-06 17:39:49 +01:00
pngwn
da7c7d899c
Ci statuses (#9033)
* fix

* asd

* asd

* asd
2024-08-06 17:31:27 +01:00
pngwn
637f57c43e
Ci statuses (#9030)
* fix

* asd
2024-08-06 12:21:03 +01:00
pngwn
3d0fdd2044
fix (#9028) 2024-08-06 12:12:18 +01:00
pngwn
1f56bcab8d
asd (#9027) 2024-08-06 11:54:11 +01:00
pngwn
5523b33736
Ci security tweaks take seventy three (#9026)
* asd

* asd

* asd

* asd

* adsa

* asd

* asd

* asd

* fix
2024-08-06 11:36:20 +01:00
pngwn
d5f0f30eb4
Ci security tweaks take seventy three (#9025)
* asd

* asd

* asd

* asd

* adsa

* asd

* asd

* asd
2024-08-06 11:17:03 +01:00