Commit Graph

7134 Commits

Author SHA1 Message Date
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
pngwn
199160eb20
skip fe build in js tests (#9734)
* skip fe build in js tests

* more fix
2024-10-16 22:47:20 +01:00
Hannah
ed1a587e87
Remove Product Hunt copy and add GitHub repo badge in README (#9723)
* Update README.md

* Update README.md

* Update README.md
2024-10-16 22:09:47 +01: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
Abubakar Abid
1500c3b11f
fix tests (#9720)
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2024-10-16 08:42:13 -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
Yuvraj Sharma
da22a294f2
added product hunt badge to README.md (#9705)
* added product hunt badge to README.md

* rephrasing the launch statement
2024-10-15 10:01:52 -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 b92a7623e1.

* 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
Hacker24a9
d86c282cf8
Docs: Updated (#9685)
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-10-14 11:35:58 -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 9720f675cb.

---------

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
Dawood Khan
d0c1e78977
notebook fix (#9687)
* notebook fix

* notebook ficx

* fix

* fix

* fix

* change notebook workflow

* test

* try ubuntu latest

* format
2024-10-14 10:24:08 -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
Freddy Boulton
60b6603437
Fix: Some typos in streaming guides (#9675)
* Fix guides

* Add import statement

* Update guides/07_streaming/02_object-detection-from-webcam-with-webrtc.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-11 16:12:37 -07:00
Abubakar Abid
f4220485b2 changesets 2024-10-11 16:00:40 -07:00
aliabid94
e5d48956f7
Fix functional chatinterface tests (#9657)
* chanes

* add changeset

* Update package.json

* delete 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: Abubakar Abid <abubakar@huggingface.co>
2024-10-11 14:47:58 -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