Commit Graph

7015 Commits

Author SHA1 Message Date
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
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
pngwn
df54b9c6fa
Ci security tweaks take seventy three (#9019)
* asd

* asd

* asd

* asd

* adsa

* asd

* asd
2024-08-06 00:45:15 +01:00
pngwn
d607457278
Ci security tweaks take seventy three (#9018)
* asd

* asd

* asd

* asd

* adsa

* asd
2024-08-06 00:37:24 +01:00
pngwn
6025cbe0c8
Ci security tweaks take seventy three (#9017)
* asd

* asd

* asd

* asd
2024-08-06 00:29:24 +01:00
pngwn
b808616d49
Ci security tweaks take seventy three (#9016)
* asd

* asd

* asd
2024-08-06 00:10:50 +01:00
pngwn
3238b26277
asd (#9015) 2024-08-05 23:57:28 +01:00
pngwn
c15c58c4ab
Ci security tweaks (#9014)
* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* :[

* asd
2024-08-05 23:47:45 +01: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
pngwn
e23347c57f
Ci security tweaks (#9012)
* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* :[
2024-08-05 23:34:26 +01:00
pngwn
98475a2ebc
Ci security tweaks (#9010)
* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd
2024-08-05 20:23:28 +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
pngwn
f32ed12806
Ci security tweaks (#9008)
* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd
2024-08-05 19:21:43 +01:00
pngwn
fdb2e8388e
Ci security tweaks (#9006)
* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd
2024-08-05 19:11:24 +01:00
pngwn
f461b6ac52
more ci (#9004)
* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd
2024-08-05 19:01:52 +01:00
JackismyShephard
4365237599
fix insufficient typing of event listeners (#8983) 2024-08-05 13:13:43 -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
a043b0c985
Security ci (#9001)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* dfg

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 17:01:38 +01:00
pngwn
24829163e6
Security ci (#9000)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* dfg

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 16:34:29 +01:00
pngwn
f45162614a
Security ci (#8999)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* dfg

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 16:22:27 +01:00
pngwn
a02f1b4072
Security ci (#8998)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 16:16:15 +01:00
pngwn
3704a27a03
Security ci (#8997)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 16:11:15 +01:00
pngwn
705db0f5dc
Security ci (#8996)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 16:08:07 +01:00
pngwn
ed2fa6f7d0
Security ci (#8995)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 16:05:17 +01:00
pngwn
4755ded4d6
Security ci (#8994)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 16:02:35 +01:00
pngwn
ff5c47dd44
Security ci (#8993)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 15:52:23 +01:00
pngwn
d2a97ada58
Security ci (#8992)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 15:48:38 +01:00
pngwn
05724fafa0
Security ci (#8991)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 15:39:20 +01:00
pngwn
4c82eae3e6
Security ci (#8990)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 15:36:23 +01:00
pngwn
30a1153120
Security ci (#8989)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 15:33:03 +01:00
pngwn
8dd0eb1462
Security ci (#8988)
* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-05 15:30:30 +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
St. HeMeow
d4c503a471
Type hint Correction (#8972)
* Type hint Correction

* add changeset

* typecheck

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2024-08-02 18:52:48 +00:00
gsbm
fb502de8af
Update gradio clients documentation examples for file handling (#8970)
* Replacing file() deprecated function by handle_file()

* Add handle_file() function to example

* Fix example synthax error

* Add handle_file() function to examples
2024-08-02 12:48:08 -04:00
aliabid94
2f89877ac1
Set content_disposition_type and media_type on downloaded files (#8967)
* changes

* add changeset

* changes

* add changeset

* add changeset

* 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-01 18:37:34 -07:00
Remigiusz Samborski
c68eefba6c
fix: httpx timeouts cause gradio to fail during launch (#8962)
* fix: httpx timeouts cause gradio to fail during launch

This has been fixed in https://github.com/gradio-app/gradio/pull/7707, but it seems it has been reintroduced during some other code changes/refactoring.

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-01 14:47:19 +00:00
Abubakar Abid
d072252156
guide (#8957) 2024-07-31 20:10:28 -07:00
Abubakar Abid
4ff91a3e65
Fixes some docstrings, particularly for the show_progress parameter (#8958)
* s

* add changeset

* fixes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-31 20:08:18 -07: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
evanscho
f7fbd2c237
Bumped websockets version limit (#8948)
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-07-31 20:07:21 +00:00
Lucain
7e997a85bb
Fix running local app with fake OAuth (#8950)
* Fix running local app with fake OAuth

* add changeset

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-31 13:02:21 -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
pngwn
00dcd1084c
run deploy scripts from main (#8939) 2024-07-31 09:01:57 +01: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
Abubakar Abid
5f9b8d093a
Fix lazy caching (#8933)
* fix lazy

* add changeset

* fix

* changes

* hello

* fix test

* add new test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-07-30 16:14:15 -07: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