2
0
mirror of https://github.com/gradio-app/gradio.git synced 2025-02-11 11:19:58 +08:00
Commit Graph

7169 Commits

Author SHA1 Message Date
aliabid94
78e3b517af
Allow setting plotly margins ()
* changes

* add changeset

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-25 11:44:38 -07:00
aliabid94
a4e70f3c42
Fix Tabs in Rows ()
* changes

* add changeset

* add changeset

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-10-25 11:44:00 -07:00
Lorenzo Cian
8f40bd2e47
docs: update CONTRIBUTING.md with troubleshooting step for JS OOM error in scripts/build_frontend.sh ()
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-10-25 11:43:28 -07:00
Yuichiro Tachibana (Tsuchiya)
854ec6ff8f
Add requirements.txt to the gradio-lib-front-end-lite cache key () 2024-10-26 00:12:50 +09:00
Cornelius
767643fdec
Fix a bug in example textbox rendering when it is initially invisible ()
* Fix a bug in example textbox rendering when it is initially invisible

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-10-25 05:21:15 +00:00
Ali Abdalla
febbed6db1
Pin multipart version to fix issues with yanking ()
* pin multipart

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-25 11:55:01 +09:00
Lorenzo Cian
f15808eff3
fix: use system timezone in gr.DateTime with include_time=False ()
* fix: use system timezone in gr.DateTime with include_time=False

* add changeset

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-24 11:43:01 -07:00
Hannah
b1b81c9e1c
Hide option to add row/col when count is fixed in dataframe ()
* * hide add row or col if  count is fixed
* restore selected cell outline

* add changeset

* * fix selected cell border
* close cell menu on window resize

* tweak

* fix test

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-24 15:03:10 +01:00
Yuichiro Tachibana (Tsuchiya)
7cce63e29f
Ask LLM to generate the requirements.txt in the playground ()
* Ask LLM to generate the requirements.txt

* add changeset

* Fix

* Remove adhoc installs

* Suspend auto-run during code generation by LLM

* Add a rule to make sure the code includes all necessary imports

* Format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-10-24 10:40:26 +09:00
Abubakar Abid
ff5be457dc
Use safehttpx.get() instead of async_get_with_secure_transport() ()
* changes

* add changeset

* format

* format

* format

* add changeset

* remove tests

* bump

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-23 12:33:13 -07:00
Abubakar Abid
5e89b6d23a
Allow accepting user-provided-tokens in gr.load ()
* load

* add changeset

* lint

* external

* lint

* changes

* format

* changes

* renamed

* external

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-23 18:58:46 +00:00
pngwn
90d9d14518
use different env var for node port range ()
* use different env var for node port range

* add changeset

* add changeset

* use GRADIO_NODE_SERVER_NAME and document env vars

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-23 15:04:34 +00:00
bob-jones-cs
160b27c0d1
Update requirements.txt to allow pillow 11.x ()
* Update requirements.txt to allow pillow 11.x

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-23 14:58:26 +00:00
Yuichiro Tachibana (Tsuchiya)
7b6bd31881
Fix the tab names in the playground ()
* Rename the `name` prop to `label` on TabItem in DemosLite

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-23 22:15:16 +09:00
pngwn
6505d4289a
support gradio apps on spaces served on subpaths ()
* support spaces served on subpaths

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-23 12:46:30 +01:00
Dawood Khan
1163a372a6
Fixes component info font size () 2024-10-23 01:49:09 -04:00
Nonthachai Plodthong
b538bdaa06
update button varaint of hugginface ()
* update button varaint of hugginface

* add changeset

* tweaks

* tweak

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-22 22:21:53 +00:00
Samy FERGUI
f971ca6ab5
added audioop-lts module to support pydub for python3.13+ ()
* added audioop-lts module to support pydub for python3.13+

* add changeset

* add changeset

* Revert "update prerequisite note to mention python 3.13 issue ()"

This reverts commit 2735e89cd8.

* fixes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-22 13:57:25 -07:00
Hannah
3b9ed299e9
Fix avatar image placement in Chatbot ()
* fix avatar images in chatbot

* add changeset

* revert comments

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-10-22 21:55:48 +01:00
pngwn
6ba2e59ea7
Ci tweaks 5.4 ()
* build essential packages fpor functional tests

* fix component tests
2024-10-22 20:35:28 +01:00
pngwn
cc39d3b737
build essential packages fpor functional tests () 2024-10-22 20:21:02 +01:00
pngwn
ebd904db75
Ci tweaks 5.3 ()
* enable caching

* fix

* more

* more

* ...
2024-10-22 18:58:52 +01:00
pngwn
84ca1ec74b
Ci tweaks 5.3 ()
* enable caching

* fix

* more

* more
2024-10-22 18:50:05 +01:00
pngwn
a8d22f76fc
Ci tweaks 5.3 ()
* enable caching

* fix
2024-10-22 18:38:40 +01:00
pngwn
421fd5402a
enable caching () 2024-10-22 18:33:55 +01:00
pngwn
70bda3bb18
fix storybook build ()
* fix storybook build

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-22 17:13:59 +00:00
pngwn
d2b56a4c04
more fix ()
* more fix

* add changeset

* bump deps

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-22 16:43:29 +01:00
pngwn
df1cf8f6c5
Speed up CI by avoiding the need to package ()
* optimise typechecking

* fix builds
2024-10-22 15:43:38 +01:00
Yuichiro Tachibana (Tsuchiya)
caf3650482
Exclude python-multipart 0.0.13 ()
* Exclude python-multipart 0.0.13

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-22 18:12:48 +04:00
Gradio PR Bot
5a2967e78a
chore: update versions ()
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-21 19:28:58 -07:00
Dawood Khan
a72e1a9768
Streaming Markdown in chatbot Component Fix ()
* fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-21 18:55:54 -07:00
Hannah
61cd768490
Ensures tabs with visible set to false are not visible. ()
* * fix tab visibility
* add story

* add changeset

* stuff

* fix

* more fix

* fix undefined tab labels

* fix tabs again

* add changeset

* format

* format

* fix type

* add changeset

* fix all things

* format

* add changeset

* notebooks

* visible tabs

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2024-10-21 16:46:01 -07:00
Freddy Boulton
cfd60b0279
artifact names () 2024-10-21 16:16:13 -07:00
aliabid94
7579e92971
Allow smoother plot 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-10-21 16:15:04 -07:00
Freddy Boulton
df34f58c3d
Fixes SVG Icons ()
* add code

* add changeset

* Set as static instead

* Update tangy-eyes-begin.md

* address

* static

* add code

* revert

* Edit changeset

* guide changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-21 15:33:34 -07:00
Freddy Boulton
82127e3ebe
Add code () 2024-10-21 14:29:20 -07:00
Hannah
38701a9971
Fix icons not showing in Safari ()
* add 100% w x h

* add changeset

* add wxh 100%

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-21 12:43:09 -07:00
aliabid94
47b556523d
Fix broken image select ()
* changes

* add changeset

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-21 12:16:23 -07:00
Daniel Jyllikoski
6d933bea60
i18n: added Finnish translations for all existing UI tokens () 2024-10-21 11:39:27 -07:00
Abubakar Abid
bcb7d15a8a
Add a .clear event to the gr.Chatbot component ()
* clear event fix

* add changeset

* diffusers fix

* update

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-18 15:56:28 -07:00
Richard Decal
16895e8628
Fixes ()
* Fixes 

Validator was not handling situation where function does not return anything.

Signed-off-by: Richard Decal <public@richarddecal.com>

* add test case for function which doesn't return anything

Signed-off-by: Richard Decal <public@richarddecal.com>

* format

* add changeset

---------

Signed-off-by: Richard Decal <public@richarddecal.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-18 15:48:38 -07:00
Abubakar Abid
80c1c664c9
Updates to contributing guide ()
* updates to contributing guide

* add video

* change
2024-10-18 15:48:18 -07:00
Abubakar Abid
890150a5cb
fix readme and quickstart guide ()
* readme

* fix

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* readme
2024-10-18 12:41:03 -07:00
Ali Abdalla
92f337cc85
Fix website build issue () 2024-10-18 23:00:04 +04:00
Yanis Lukes
36a5076909
Update client.py: raise error on 429 get_config ()
* Update client.py: raise error on 429 get_config

best not request to again

* add changeset

* lint

* fix error

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-18 10:23:21 -07:00
rahulsamant37
88c8793276
feat: replace pip install with uv pip install in CI workflows ()
* feat: replace pip install with uv pip install in CI workflows

* Installs uv within the virtual environment, ensuring isolation

* Replace pip install with uv in CI workflows for faster dependency installation

* Update action.yml

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-17 16:15:05 -07:00
lcjia_you
8d848dd1e4
Add a port timeout detection feature for gradio/preview. ()
* Add a port timeout detection feature for gradio/preview. This feature can help users receive more informative messages when running 'gradio cc dev' in case of network issues

* add changeset

* add changeset

* fix

---------

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-17 12:28:07 -07:00
Hannah
cd7dab7ba5
Improve select event behaviour in gr.Dataframe ()
* add last_selected prop

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2024-10-17 11:12:01 -07:00
Samy FERGUI
2735e89cd8
update prerequisite note to mention python 3.13 issue () 2024-10-17 11:11:23 -07:00
Freddy Boulton
2932e067d5
Fix API info bug ()
* copy

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-17 11:11:02 -07:00