Commit Graph

7160 Commits

Author SHA1 Message Date
Abubakar Abid
ff5be457dc
Use safehttpx.get() instead of async_get_with_secure_transport() (#9795)
* 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 (#9807)
* 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 (#9815)
* 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 (#9819)
* 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 (#9811)
* 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 (#9814)
* 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 (#9651) 2024-10-23 01:49:09 -04:00
Nonthachai Plodthong
b538bdaa06
update button varaint of hugginface (#9806)
* 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+ (#9757)
* added audioop-lts module to support pydub for python3.13+

* add changeset

* add changeset

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

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 (#9769)
* 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 (#9803)
* 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 (#9802) 2024-10-22 20:21:02 +01:00
pngwn
ebd904db75
Ci tweaks 5.3 (#9799)
* enable caching

* fix

* more

* more

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

* fix

* more

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

* fix
2024-10-22 18:38:40 +01:00
pngwn
421fd5402a
enable caching (#9796) 2024-10-22 18:33:55 +01:00
pngwn
70bda3bb18
fix storybook build (#9794)
* 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 (#9792)
* 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 (#9791)
* optimise typechecking

* fix builds
2024-10-22 15:43:38 +01:00
Yuichiro Tachibana (Tsuchiya)
caf3650482
Exclude python-multipart 0.0.13 (#9783)
* 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 (#9747)
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 (#9780)
* 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. (#9653)
* * 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 (#9782) 2024-10-21 16:16:13 -07:00
aliabid94
7579e92971
Allow smoother plot changes (#9781)
* 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 (#9765)
* 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 (#9778) 2024-10-21 14:29:20 -07:00
Hannah
38701a9971
Fix icons not showing in Safari (#9758)
* 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 (#9770)
* 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 (#9779) 2024-10-21 11:39:27 -07:00
Abubakar Abid
bcb7d15a8a
Add a .clear event to the gr.Chatbot component (#9762)
* 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 #9742 (#9767)
* Fixes #9742

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 (#9764)
* updates to contributing guide

* add video

* change
2024-10-18 15:48:18 -07:00
Abubakar Abid
890150a5cb
fix readme and quickstart guide (#9759)
* 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 (#9756) 2024-10-18 23:00:04 +04:00
Yanis Lukes
36a5076909
Update client.py: raise error on 429 get_config (#9754)
* 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 (#9661)
* 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. (#9707)
* 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 (#9654)
* 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 (#9710) 2024-10-17 11:11:23 -07:00
Freddy Boulton
2932e067d5
Fix API info bug (#9700)
* 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
Yuichiro Tachibana (Tsuchiya)
2ade59b95d
Export Tabs type from @gradio/tabs and fix the Playground to be compatible with the new Tabs API (#9738)
* Export Tab type from @gradio/tab

* Fix DemosLite to use the new Tabs API

* add changeset

* Set the default value of the initial_tabs props

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-17 11:09:24 -07:00
pngwn
5015abbd78
fix @gradio/sanitize exports (#9746)
* fix pkg.json

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-17 18:37:49 +01:00
Hannah
2ec2eb1412
Tiny README.md fix (#9741)
* Tiny README.md fix

* Update README.md
2024-10-17 16:14:29 +01:00
Gradio PR Bot
86fdd9361e
chore: update versions (#9737)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-16 18:07:49 -07:00
Freddy Boulton
cd3fab3b1f
Fix functional tests pt 2 (#9713)
* tests

* fix race condition

* fix test

* try again

* revert changes

* 🤞

* see failure

* add changeset

* add changeset

* Fix

* Fix

* make apply pass

* try

* check

* remove first

* fix code

* delete changeset

* fix reload test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-16 17:40:44 -07:00
Freddy Boulton
39a0e8c2fb
Fix chatbot component streaming bug and visible bug (#9730)
* Fix chatbot

* fix styling

* add changeset

* fix visible

* add changeset

* comments

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-16 17:36:33 -07:00
Gradio PR Bot
6953f1957f
chore: update versions (#9697)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-16 23:36:14 +01:00
Freddy Boulton
7134fc272e
Custom component fixes (#9711)
* add code

* Add code

* add changeset

* compatible lockfile

* add code

* add changeset

* trigger-ci

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-10-16 15:11:39 -07:00
pngwn
f118587c25
Fix js build (#9735)
* skip fe build in js tests

* more fix

* fix again
2024-10-16 22:55:21 +01:00