1658 Commits

Author SHA1 Message Date
Gradio PR Bot
db0e09ce21
chore: update versions (#10717)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-06 14:29:33 -08:00
Artem Kudisov
19411c6b15
Fix ClearButton (#10748)
* add deepcopy

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-06 13:52:45 -08:00
Dawood Khan
1cf992b042
Sidebar fixed positioning (#10737)
* return back to fixed positioning

* add changeset

* fix mobile double sidebars

* add changeset

* remove sidebar embedded demo

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-06 16:13:31 +00:00
Ali Abdalla
a89fa288f4
Add missing docs and fix gaps in website (#10744)
* fix filepath mention in custom css guide

* write and fix docs for event data classes

* add changeset

* Update js/_website/src/lib/templates/gradio/04_helpers/05_selectdata.svx

* Update js/_website/src/lib/templates/gradio/04_helpers/05_selectdata.svx

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-06 07:54:01 -08:00
Rick van Hattem
2b3842066b
Changed warning stacklevel to improve warnings in console (#10732)
* Changed warning stacklevel to improve warnings in console

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-05 22:58:48 +00:00
aliabid94
16244f3c1c
Event Listeners in gradio sketch (#10694)
* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* chagnes

* add changeset

* changes

* fix sidebar visible false

* 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>
2025-03-05 01:39:45 -08:00
Abubakar Abid
9fce28b76b
Allow sending a custom TLS certificate or no TLS certificate when connecting to custom share servers (#10728)
* changes

* changes

* add changeset

* changes

* add changeset

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 23:11:31 +00:00
Abubakar Abid
17ffdd26c2 cset 2025-03-04 14:22:12 -08:00
aliabid94
b710d7cf13
Fix error display (#10719)
* changes

* add changeset

* format

---------

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>
2025-03-04 14:17:13 -08:00
Abubakar Abid
2248005b10
Add pwa and enable_monitoring parameters to mount_gradio_app (#10720)
* changes

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 14:16:57 -08:00
Abubakar Abid
667f8a1f82
Fix Chatbot avatar image position (#10724)
* pending

* add changeset

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 21:23:06 +00:00
Anirban Basu
b3ac430d5e
fix: Check for Node.js path only if SSR mode is true. (#10721)
* fix: Fixes https://github.com/gradio-app/gradio/issues/10711.

* add changeset

* chore: Fixed the formatting.

See: https://github.com/gradio-app/gradio/pull/10721#pullrequestreview-2655514471

* fix: Corrected change set label.

* chore: Formatting fix for gradio/blocks.py

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 03:11:45 +00:00
Péter Gyarmati
5faa2a34cc
chore: bump Pyodide version to 0.27.3 (#10706)
* chore: bump Pyodide version to 0.27.3

* add changeset

* chore: remove `packageManager` from package.json

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-03-04 01:44:26 +09:00
Gradio PR Bot
54fd90703e
chore: update versions (#10700)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28 14:02:29 -08:00
Gradio PR Bot
87820551ee
chore: update versions (#10693)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-28 13:16:35 -08:00
Ali Abdalla
92d5ac8e67
Static llms.txt route on the website (#10677)
* create route

* add changeset

* formatting

* fix

* fix

* actually fix

* formatting

* try with cloudflare adapter?

* test

* damn

* using cloudflare adapter properly

* formatting

* please

* ??

* ???

* test

* fix

* fix

* ????

* lockfile

* do just static instead

* add changeset

* remove instructions

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-28 21:10:34 +00:00
Abubakar Abid
16d419b9f1
Allow functions that solely update component properties to run in the frontend by setting js=True (#10500)
* changes

* add changeset

* revert

* changes

* add changeset

* changes

* fe changse

* notebook

* changes

* fix fe

* changes

* add changeset

* change

* add changeset

* notebook

* add tests

* changes

* changes

* changes

* changes

* changes

* type

* changes

* changes

* changes

* notebooks

* fix

* fix

* changes

* changes

* changes

* changes

* changes

* notebooks

* changes

* revert

* changes

* changes

* changes

* notebook

* changes

* done

* changes

* add changeset

* update

* changes

* add changeset

* added a guide

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-28 12:45:20 -08:00
Abubakar Abid
bd982df85b
Change gr.load chatinterface behavior to streaming (#10688)
* change chatbot to streaming

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-27 09:59:47 -08:00
Gradio PR Bot
13c6b61ea1
chore: update versions (#10674)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-26 16:29:46 -08:00
XcantloadX
36309ea55f
Automatically restore last scroll position in multiple-choice dropdowns (#10659)
* fix: automatically restore last scroll position in mutiple-choice dropdown (#10350)

* add changeset

* fix typing

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-27 00:03:32 +00:00
Dawood Khan
367fe14381
Fix chatbot share button payload too large (#10683)
* chatbot share link formatting

* add changeset

* Update utils.ts

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 17:21:31 -05:00
Abubakar Abid
374b762b7f
Support gr.LoginButton for gr.load() (#10577)
* changes

* add changeset

* tests

* changes

* type

* changes

* format

* updates

* testing

* changes

* changes

* cache false

* prints

* changes

* add providers

* format

* changes

* changes

* changes

* remove warning

* format

* changes

* changes

* add error

* add error

* refactor

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 22:19:14 +00:00
Abubakar Abid
249eccd81a
Fix Dataframe header type to allow integer values (#10678)
* change

* add changeset

* generify

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 20:15:20 +00:00
Hai Handsome
cb3c76205c
Add Thai Translate (#10679)
* Add Thai Translate

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-26 11:11:24 -08:00
Abubakar Abid
b43200d7df
Custom styling of the dataframe (#10647)
* changes

* add changeset

* revert

* done

* add changeset

* changes

* notebook

* documentation

* guide

* guide

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-25 14:51:01 -08:00
Abubakar Abid
a15964db87
Update banner to point to FastRTC (#10670)
* banner

* library

* add changeset

* add changeset

* format

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-25 09:10:11 -08:00
Gradio PR Bot
42053705a8
chore: update versions (#10651)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-24 17:58:24 -08:00
aliabid94
d1b063fb0c
Add load_chat documentation (#10669)
* changes

* add changeset

* Update js/_website/src/lib/templates/gradio/04_helpers/load_chat.svx

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

---------

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>
2025-02-24 16:49:48 -08:00
Dawood Khan
d06f3e3e08
Chatbot thoughts generating animation (#10636)
* pending dots

* add changeset

* fix

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-24 16:48:15 -08:00
Freddy Boulton
0b1f72941f
Allow websocket version 15 (#10664)
* Allow ws 15

* add changeset

---------

Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-24 15:26:51 -05:00
Lalit Yadav
f0a920c493
added a show_line_numbers to toggle line numbers in gr.Code() (#10643)
* added a show_line_numbers to toggle line numbers in gr.Code()

* added a show_line_numbers to toggle line numbers in gr.Code()

* add changeset

* notebook

* test_code.py updated to include show_line_numbers

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-21 22:11:42 +00:00
Gradio PR Bot
e943e29f6e
chore: update versions (#10642)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-21 13:56:39 -08:00
Abubakar Abid
7c8b0dab0b
Fix deployed Spaces (#10650)
* changes

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-21 13:04:01 -08:00
Abubakar Abid
b01ce47056
Fixes cell-selection logic in Table.svelte (#10646)
* changes

* add changeset

* changes

* patch

* add changeset

* changes

* changes

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-21 10:39:53 -08:00
Abubakar Abid
d7607a21b5
Ergonomics improvements & analytics for gradio sketch (#10641)
* changes

* changes

* add changeset

* format

* typing

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-20 16:53:04 -08:00
Gradio PR Bot
c05a076752
chore: update versions (#10634)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-20 14:50:40 -08:00
aliabid94
77432c7fa8
gradio sketch - UI based gradio skeleton builder (#10630)
* changes

* changes

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-20 14:39:53 -08:00
Yuichiro Tachibana (Tsuchiya)
866780a7cb
Independent scrolling of the code editor in an embedded Lite app in the playground mode (#10575)
* Make the preview and the code editor scroll independently in an embedded Lite app in the playground mode

* Merge .wrapper to .parent-container

* Refactoring

* Refactoring

* Preview block dominates the height

* add changeset

* Keep code editor height >0 during loading

* Set .code-editor height

* Fix

* add changeset

* Set default layout as horizontal

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-20 12:14:48 -08:00
Dawood Khan
ae4ba46cfb
Change sidebar to absolute positioning and make accessible (#10616)
* fix

* add changeset

* add changeset

* push

* 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>
2025-02-20 12:14:24 -08:00
Dawood Khan
75c9748f50
Fix: Chatbot sharing payload too large (#10637)
* share fix

* format

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-20 12:13:58 -08:00
Yuichiro Tachibana (Tsuchiya)
bd4895a95a
Update Lite to support multi-page apps (#10569)
* Update Lite to manage the MPA routes in the URL hash

* add changeset

* Fix Lite to manage the MPA path via context

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-19 15:42:05 -08:00
aliabid94
b505df0b88
Fix fill_width (#10622)
* changes

* add changeset

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-19 12:58:21 -08:00
Gradio PR Bot
de3c79c6b3
chore: update versions (#10626)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-02-19 11:47:33 -08:00
Abubakar Abid
8c87eb8306
Fix issue where styling changes were overridden when value was updated simultaneously (#10597)
* changes

* changes

* demo

* add changeset

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-19 11:01:40 -08:00
Abubakar Abid
9475ae6585 cset 2025-02-19 01:25:23 -08:00
Abubakar Abid
4e70d74068
Fix gr.load() for gr.ChatInterface(save_history=True) and any Gradio app where the upstream app includes a gr.State as input (#10580)
* changes

* add changeset

* add changeset

* changes

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-18 21:45:59 -08:00
Yuichiro Tachibana (Tsuchiya)
f0e4fd0522
Fix Blocks.serve_static_file and Button.svelte to work on Lite (#10594)
* Replace async_move_files_to_cache in Block.serve_static_file with move_files_to_cache because 1) it doesn't work on Lite and 2) Block.serve_static_file() is not async

* Fix Button.svelte to use @gradio/image instead of the native <img /> for Lite

* add changeset

* Add _mark_svg_as_safe to move_files_to_cache as well like async_move_files_to_cache in #9765

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-19 00:01:21 -05:00
Abubakar Abid
fed5531867 patch 2025-02-18 17:39:01 -08:00
Abubakar Abid
f8eb8e565b
Pass kwargs into gr.ChatInterface created by gr.load() (#10624)
* pass kwargs

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-18 16:38:49 -08:00
Abubakar Abid
ce4fb994e0
fix spelling of resizable parameter in gr.Chatbot (#10625)
* fix spelling

* add changeset

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-18 16:36:38 -08:00