Freddy Boulton
fa5d4339d6
Do not load code in gr.NO_RELOAD in the reload mode watch thread ( #9886 )
...
* add code
* add changeset
* no if __name__ reload twice
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-04 13:50:52 -08:00
Yuichiro Tachibana (Tsuchiya)
b6725cf6c1
Lite auto-load imported modules with pyodide.loadPackagesFromImports
( #9726 )
...
* Call pyodide.loadPackagesFromImports() for each Python file and dispatch an event including the result
* Fix
* Call pyodide.loadPackagesFromImports from run_code
* Update DemosLite to listen the modules-auto-loaded event and upload the requirements automatically
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-11-04 13:50:27 -08:00
Freddy Boulton
e10bbd236f
Fix live interfaces for audio/image streaming ( #9883 )
...
* Fix live interfaces for audio/image streaming
* add changeset
* code
* code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-11-04 16:20:48 -05:00
Freddy Boulton
dcfa7ad3e8
Enforce meta
key present during preprocess in FileData payloads ( #9898 )
...
* add code
* add code
* add changeset
* revert
* use is_file_obj_with_meta
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-04 15:00:27 -05:00
Abubakar Abid
7d77024cb8
Fix dataframe height increasing on scroll ( #9892 )
...
* changes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-04 10:39:04 -08:00
aliabid94
4d9088354d
Allows selection of directories in File Explorer ( #9835 )
...
* changes
* changes
* changes
* add changeset
* changes
* Update js/fileexplorer/shared/FileTree.svelte
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-11-04 17:54:35 +00:00
Hannah
6c8a064fee
Ensure non-form elements are correctly positioned when scale is applied ( #9882 )
...
* apply margin when scale is null
* remove console.log
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-04 17:23:40 +00:00
Yuichiro Tachibana (Tsuchiya)
a1582a6dca
Lite worker refactoring ( #9424 )
...
* Remove a comment no longer correct
* add changeset
* Fix custom element registration timing
* add changeset
* add changeset
* Revert change on custom-element/index.ts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-11-03 07:01:10 +09:00
Yuichiro Tachibana (Tsuchiya)
f109497e82
Fix frontend errors on ApiDocs and RecordingSnippet ( #9786 )
...
* Fix frontend errors on ApiDocs and RecordingSnippet
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-11-02 17:57:06 +09:00
Hannah
fc124964a1
Allow uploading more files in gr.File ( #9891 )
...
* add upload to icon buttons in file
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-01 19:16:15 -07:00
aliabid94
d1cfe1e9de
Allow plot tooltip to show extra columns ( #9800 )
...
* changes
* add changeset
* changes
* changes
* chanes
* 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>
2024-11-01 19:00:22 -07:00
Dawood Khan
120198fe2d
Fixes LoginButton for SSR ( #9880 )
...
* test
* add changeset
* test
* test
* test
* fix
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-01 08:13:44 -07:00
Abubakar Abid
d407c00715
Add .download()
event to gr.File
( #9887 )
...
* add .download() event
* add changeset
* format
* Update gradio/events.py
* Update gradio/events.py
* fix story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-11-01 08:12:58 -07:00
Hannah
6866a5433a
Ensure gallery share button is positioned correctly ( #9881 )
...
* move gallery share button
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-01 15:06:29 +00:00
Hannah
dbc62fcdae
fix story ( #9890 )
2024-11-01 14:51:26 +00:00
Freddy Boulton
69acfebffd
Make sure the Tool accordion is closed if it is not the last message ( #9826 )
...
* fix
* add changeset
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-31 18:48:47 -04:00
Abubakar Abid
8305ff8712
Adds .expand()
and .collapse()
events to gr.Accordion
( #9875 )
...
* feat: add expand and collapse events to Accordion component
* change
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-10-31 14:55:41 -04:00
rahulsamant37
c1cb5be2d7
Fix: Resolve copy button visibility issue in Textbox component ( #9859 )
...
* Fix: Resolve copy button visibility issue in Textbox component
* restore tabs
* add changeset
* changes
* 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: aliabid94 <aabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-30 22:51:41 -07:00
Dawood Khan
d9a0f17920
Update CONTRIBUTING.md to emphasize that primarily AI-generated contributions are not welcome ( #9873 )
...
* Update CONTRIBUTING.md
* Update CONTRIBUTING.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-10-30 21:21:57 -07:00
Freddy Boulton
7ed8d02979
Fix Loading SSR'd apps via gr.load ( #9827 )
...
* add code
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-30 21:09:10 +00:00
Dawood Khan
458a38cabb
Fixes for ChatInterface Examples when additional inputs are provided ( #9804 )
...
* fix
* add changeset
* fix
* remove prints
* fix
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-30 13:01:52 -04:00
pngwn
85731e7eba
bump version ( #9850 )
...
* bump version
* add changeset
* remove changeset
* add changeset
* delete changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-10-25 23:25:12 +00:00
Gradio PR Bot
8e5b5a201e
chore: update versions ( #9790 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-25 12:33:07 -07:00
aliabid94
78e3b517af
Allow setting plotly margins ( #9805 )
...
* 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 ( #9836 )
...
* 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 ( #9845 )
...
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 ( #9842 )
2024-10-26 00:12:50 +09:00
Cornelius
767643fdec
Fix a bug in example textbox rendering when it is initially invisible ( #9831 )
...
* 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 ( #9834 )
...
* 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 ( #9825 )
...
* 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 ( #9649 )
...
* * 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 ( #9647 )
...
* 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()
( #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