1325 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
ea283e7398
fix css syntax error (#9731)
* fix css syntax error

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-16 21:56:26 +01:00
pngwn
d0b2ce8c0f
Ensure tabs render in SSR mode and reduce time it takes for them to render. (#9728)
* fix tabs in SSR

* format

* add changeset

* remove log

* add changeset

* more ifx

* fix more

* more fix

* types

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-16 21:11:17 +01:00
Yuichiro Tachibana (Tsuchiya)
7ec57cb018
Fix Lite dependencies (#9719)
* Fix Lite dependencies

* add changeset

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-16 09:32:02 -07:00
aliabid94
3c7f2ad15f
Restore light/dark custom setting (#9716)
* 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>
2024-10-15 22:37:11 -07:00
Abubakar Abid
b1a0f6db0d
Fix the behavior of gr.LoginButton locally and on Spaces (#9659)
* changes

* add changeset

* changes

* add changeset

* changes

* add changeset

* add changeset

* clean

* typing

* button

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-15 22:13:34 -07:00
Freddy Boulton
bad46f3e8c
Set min FastAPI version (#9712)
* Add code

* add changeset

* fix

* starlette

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-15 16:55:10 -07:00
brody715
c45b46652d
Fix progress bar compatibility with generators (#9693)
* Fix progress bar compatibility with generators

* add changeset

* Format helpers.py

* Fix

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-10-15 13:02:28 -07:00
Hannah
31418ef388
fix table type check (#9709)
* fix type check

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-15 12:23:36 -07:00
Tristan Zhang
2ed236187a
Allow setting title in gr.Info/Warning/Error (#9681)
* Allow setting title in gr.Info/Warning/Error

* fix

* add changeset

* allow title in gr.Error

* make argument consistent

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-15 09:58:00 -07:00
Abubakar Abid
ea2367ccb1
allow setting initial value of gr.Dropdown to None to designate that no value should be initially selected (#9699)
* set initial

* add changeset

* fixes

* revert'

* add changeset

* add test

* fix multiselect case, add test

* change

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-15 00:05:45 -07:00
Zhiyang Guo
a25a26e208
Fix: file_types checking bug (#9678)
* Fix: file_types check

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-14 16:45:58 -07:00
Hannah
35bebf38eb
Hide default slider background (#9652)
* hide default slider bg

* 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-14 22:21:39 +01:00
Gradio PR Bot
07612e9fd1
chore: update versions (#9674)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-14 12:31:36 -07:00
Yuichiro Tachibana (Tsuchiya)
3a19e690ef
Revert text disable (#9677)
* Revert change on MultimodalTextbox in #9593

* Revert "Disable the submit button and enter-key submit when the text is empty (#9583)"

This reverts commit b92a7623e1ebd801587041e1ccca058a61058da9.

* 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-14 12:04:22 -07:00
Dawood Khan
3407b505c7
Chat Interface Functional test Fix + Chat Examples Center (#9660)
* test fix

* add changeset

* test fixc

* test fix

* Revert "test fix"

This reverts commit 9720f675cb3bb0fbfc0904dc5cf982e987dcc8ef.

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-14 12:30:58 -04:00
Freddy Boulton
fd0264f335
Fix Audio in Chatbot bug (#9676)
* fix

* 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-11 16:50:34 -07:00
Abubakar Abid
f4220485b2 changesets 2024-10-11 16:00:40 -07:00
Freddy Boulton
8f6626cd0e
Fix streaming Audio/Video Output (#9656)
* Fix

* add changeset

* lint

* add changeset

* type ignore

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-11 13:19:09 -07:00
Abubakar Abid
b1c5a68f90
Tweak message shown in Colab notebooks (#9662)
* colab message

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-11 12:34:48 -07:00
Gradio PR Bot
207ae11a21
chore: update versions (#9637)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-11 17:04:13 +01:00
pngwn
70998ea752
fix height in iframe (#9669)
* fix height in iframe

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-11 16:52:25 +01:00
Yuichiro Tachibana (Tsuchiya)
9004b11064
Fix Lite to work on FireFox (#9528)
* Fix CrossOriginWorker to work in FireFox

* add changeset

* Add FireFox to the Lite E2E test

* Use request.arrayBuffer instead .body on FireFox

* add changeset

* Delete the user-agent header in PyodideHttpTransport

* Ignore the kitchen_sink E2E test for FireFox

* Fix

* Fix test files using file uploader so they work on FireFox, ref: https://stackoverflow.com/a/78701710

* Fix js/spa/test/outbreak_forecast.spec.ts

* Fix outbreak_forecast.spec.ts

* [wip] Comment out plotly part

* add changeset

* Skip Plotly tests on FireFox temporarily

* Revert "Fix"

This reverts commit 98e2495e9c87bbb7708efe4422189997608c0a37.

* 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-10 11:25:41 -07:00
Ali Abdalla
67e4044c9c
Add website banner for gradio 5 (#9635)
* add header

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-09 19:44:37 -07:00
Gradio PR Bot
cbbeebd2eb
chore: update versions (#9622)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-09 15:01:11 -07:00
Abubakar Abid
69c035b753
cf (#9633) 2024-10-09 14:50:25 -07:00
pngwn
9b58ab00b7
bump to node 20 (#9632)
* bump to node 20

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-09 22:49:08 +01:00
pngwn
2eaa0667e1
Fix duplicate attribute error (#9630)
* fix duplicate attribute

* fix duplicate attribute

* add changeset

* add changeset

* format

* 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-09 14:28:07 -07:00
Abubakar Abid
4b1086ec2d
fix changesets (#9628)
* changes

* add changeset

* changes

* changes

* fix test

* fix changesets

* patch

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-09 14:13:47 -07:00
Dawood Khan
1f3ee97d10
Fix Functional Tests (#9619)
* tests

* changes

* add changeset

* chet fixes

* fixes

* add changeset

* 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>
Co-authored-by: aliabid94 <aabid94@gmail.com>
2024-10-09 14:12:39 -07:00
pngwn
c163182d1b
Fix dark mode detection and container height (#9617) 2024-10-09 22:11:28 +01:00