7321 Commits

Author SHA1 Message Date
Yuvraj Sharma
aa2eec284e
Update the LLM Agents guide with Gemini2.0 Thinking demo (#10247)
* Update the LLM Agents guide with Gemini2.0 Thinking demo

* Addressed review comments on PR #10247
2024-12-26 11:26:14 +05:30
Abubakar Abid
3e4e0de51a
Add gr.BrowserState change event (#10245)
* changes

* changes

* add changeset

* format

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-23 18:19:46 -05:00
Dmitry Ustalov
3f192100d6
Declare exports in __all__ for type checking (#10238)
* Declare exports

* add changeset

* type fixes

* more type fixes

* add changeset

* notebooks

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-23 22:33:22 +00:00
Dawood Khan
f0cf3b789a
Dataframe support in Chatbot (#10225)
* dataframe

* dataframe

* remove console log

* add changeset

* datatype

* fix border

* Update js/chatbot/shared/Component.svelte

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

* border fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-23 13:04:28 -05:00
Freddy Boulton
9bdec8c8ed
Update Transformers agent demo (#9885)
* update code

* modify imports

* fix

* update notebook

* gr.load_chat: Allow loading any openai-compatible server immediately as a ChatInterface (#10222)

* changes

* add changeset

* add changeset

* Update gradio/external.py

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

* changes

* changes

* Update guides/05_chatbots/01_creating-a-chatbot-fast.md

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

* 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>

* Allow editing chatbot messages (#10203)

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* Update gradio/events.py

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

* Update gradio/components/chatbot.py

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

* 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>

* Update Guides related to deploying Gradio chatbots to Discord, Slack, and website widgets (#10221)

* changes

* changes

* update

* chat history

* add changeset

* changes

* add changeset

* changes

* guide

* changes

* changes

* changes

* guide

* add images

* slack guide

* changes

* format

* add changeset

* finish up slack

* changes

* improve js guide

* update

* changes

* script

* changes

* changes

* add changeset

* Update guides/05_chatbots/01_creating-a-chatbot-fast.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/01_creating-a-chatbot-fast.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/06_creating-a-discord-bot-from-a-gradio-app.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/08_creating-a-website-widget-from-a-gradio-chatbot.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/08_creating-a-website-widget-from-a-gradio-chatbot.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* gradio

* cta

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Allow editable ChatInterface (#10229)

* changes

* add changeset

* changes

* changes

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Fix typing for components in `gr.Interface` and docstring in `image.py` (#10235)

* changes

* add changeset

* changes

* changes

* change

* add changeset

* image.py

* revert msg

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* Lite: Capture stdout and stderr from the main thread (#9984)

* Add stdout and stderr events

* add changeset

* Refactoring

* Format App.tsx

* add changeset

* Add python-error event to capture Python errors occurring in the running event loop after the initial app launch

* Fix <ErrorDisplay />'s close button

* Fix <ErrorDisplay />

* Propagate python-error and initialization-error events to the controller

* Add init-code|file-run-error events

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>

* use chat interface

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabid94 <aabid94@gmail.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: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2024-12-23 17:25:16 +00:00
Yuichiro Tachibana (Tsuchiya)
45df1b1978
Lite: Capture stdout and stderr from the main thread (#9984)
* Add stdout and stderr events

* add changeset

* Refactoring

* Format App.tsx

* add changeset

* Add python-error event to capture Python errors occurring in the running event loop after the initial app launch

* Fix <ErrorDisplay />'s close button

* Fix <ErrorDisplay />

* Propagate python-error and initialization-error events to the controller

* Add init-code|file-run-error events

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-23 14:46:26 +09:00
Abubakar Abid
9285dd9eb8
Fix typing for components in gr.Interface and docstring in image.py (#10235)
* changes

* add changeset

* changes

* changes

* change

* add changeset

* image.py

* revert msg

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-20 19:32:49 -05:00
aliabid94
1be31c14e2
Allow editable ChatInterface (#10229)
* changes

* add changeset

* changes

* changes

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-20 16:15:25 -08:00
Abubakar Abid
506bd2884a
Update Guides related to deploying Gradio chatbots to Discord, Slack, and website widgets (#10221)
* changes

* changes

* update

* chat history

* add changeset

* changes

* add changeset

* changes

* guide

* changes

* changes

* changes

* guide

* add images

* slack guide

* changes

* format

* add changeset

* finish up slack

* changes

* improve js guide

* update

* changes

* script

* changes

* changes

* add changeset

* Update guides/05_chatbots/01_creating-a-chatbot-fast.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/01_creating-a-chatbot-fast.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/06_creating-a-discord-bot-from-a-gradio-app.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/08_creating-a-website-widget-from-a-gradio-chatbot.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* Update guides/05_chatbots/08_creating-a-website-widget-from-a-gradio-chatbot.md

Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>

* gradio

* cta

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2024-12-20 20:36:29 +00:00
aliabid94
c3a9e64738
Allow editing chatbot messages (#10203)
* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* Update gradio/events.py

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

* Update gradio/components/chatbot.py

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

* 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-12-19 23:54:20 +00:00
aliabid94
9c6d83d12e
gr.load_chat: Allow loading any openai-compatible server immediately as a ChatInterface (#10222)
* changes

* add changeset

* add changeset

* Update gradio/external.py

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

* changes

* changes

* Update guides/05_chatbots/01_creating-a-chatbot-fast.md

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

* 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-12-19 23:41:37 +00:00
Yuichiro Tachibana (Tsuchiya)
64d1864f8f
manifest json for PWA (#10187)
* Serve manifest.json for PWA

* Set the PWA title

* add changeset

* Add the pwa option to Blocks.launch()

* Set icon files with 192 and 512 pixels which are necessary for PWA on Chrome

* add changeset

* Format

* Configure the /manifest.json path for SPA and SSR

* Set the default value for the name field in the manifest.json

* Fix gr.Interface() not to override the default title value

* Add a test case for ChatInterface.title

* Set the default values to Interface.title and ChatInterface.title

* Revert "Set the default values to Interface.title and ChatInterface.title"

This reverts commit 3574d6b344cb471f519c4b6b1431f2ba474782fa.

* Revert "Add a test case for ChatInterface.title"

This reverts commit 276d6f2af7f8399213b5ec40bd3706601830e0cd.

* Revert "Fix gr.Interface() not to override the default title value"

This reverts commit 90f0efa6925d8563775f3c3fbb1a385553cd610f.

* Enable the PWA feature on Spaces by default

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-19 13:35:07 +09:00
Freddy Boulton
501adefd0c
Some agent low-hanging issues (#10214)
* Add code

* add changeset

* add changeset

* Fix box closing issue

* Fix handling

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-17 22:21:24 +00:00
Dawood Khan
9b17032a65
Add Microphone Input to MultimodalTextbox (#10186)
* microphone

* add changeset

* undo css changes

* notebook

* css fix

* fixes

* add changeset

* fixes

* pr fixes

* guides

* format

* ally ignore

* type fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-17 17:15:16 -05:00
Abubakar Abid
a95f8ef3ee
Add support for returning multiple messages from gr.ChatInterface chat function (#10197)
* multiple messages

* filepath

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* add test

* add changeset

* changes

* add a lot more tests

* changes

* chat

* change

* changes

* chat

* changes

* change demo

* remove test

* changes

* format

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-17 14:46:10 -05:00
Hannah
2700d1898b
Ensure the height param in gr.File works as expected (#10209)
* * allow height as string in gr.file
* change max-height to height

* add changeset

* * revert file preview height change
* apply height param in upload

* add changeset

* add story

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-17 16:59:20 +00:00
Col0ring
314a8b55f5
fix: make sure comp.instance exists (#10207)
* fix: make sure `comp.instance` exists

* add changeset

* fix: update syntax

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-17 11:58:42 -05:00
Hannah
13a83e5001
Allow reordering files in gr.File (#10210)
* allow reordering files in gr.File

* add changeset

* fix test

* Update gradio/components/file.py

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

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-17 15:03:01 +00:00
Gradio PR Bot
d3347695ea
chore: update versions (#10213)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
gradio@5.9.1
2024-12-16 21:37:51 +00:00
aliabid94
3d8fc42c94
Fix render trigger (#10212)
* changes

* add changeset

* changes

* Update gradio/renderable.py

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>
2024-12-16 21:18:36 +00:00
Gradio PR Bot
dc87afecf4
chore: update versions (#10127)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@gradio/textbox@0.9.1 @gradio/upload@0.14.3 @gradio/uploadbutton@0.7.9 @gradio/video@0.12.1 @self/tootils@0.7.10 @gradio/accordion@0.5.3 @gradio/annotatedimage@0.9.0 @gradio/atoms@0.12.0 @gradio/audio@0.14.10 @gradio/box@0.2.8 @gradio/button@0.3.9 @gradio/chatbot@0.19.0 @gradio/checkbox@0.4.9 @gradio/checkboxgroup@0.6.9 @gradio/code@0.10.10 @gradio/colorpicker@0.4.9 @gradio/core@0.5.0 @gradio/dataframe@0.12.5 @gradio/dataset@0.3.11 @gradio/datetime@0.3.1 @gradio/downloadbutton@0.2.9 @gradio/dropdown@0.9.7 @gradio/fallback@0.4.9 @gradio/file@0.11.3 @gradio/fileexplorer@0.5.10 @gradio/form@0.2.8 @gradio/gallery@0.14.0 @gradio/highlightedtext@0.8.9 @gradio/html@0.6.0 @gradio/image@0.19.0 @gradio/imageeditor@0.11.11 @gradio/json@0.5.9 @gradio/label@0.5.1 @gradio/lite@5.9.0 @gradio/markdown@0.12.1 @gradio/model3d@0.13.10 @gradio/multimodaltextbox@0.8.0 @gradio/nativeplot@0.5.3 @gradio/number@0.5.9 @gradio/paramviewer@0.6.1 @gradio/plot@0.9.4 @gradio/radio@0.6.9 @gradio/simpledropdown@0.3.9 @gradio/simpleimage@0.8.10 @gradio/simpletextbox@0.3.9 @gradio/slider@0.5.9 @gradio/statustracker@0.9.7 @self/app@1.44.2 @self/component-test@0.5.0 gradio@5.9.0 gradio_client@1.5.2 website@0.44.0
2024-12-13 12:58:27 -08:00
Freddy Boulton
25484f4bfb
Group chatbot messages by default (#10169)
* handle pasted text as file

* test

* add changeset

* remove unneeded test

* update file UI

* add changeset

* Revert "handle pasted text as file"

This reverts commit 1910029f103f89573210ee0a8b62823505a1b1db.

* add changeset

* Revert "test"

This reverts commit 25c17bd8d3505d09cd571382afeeacdec197bd9c.

* story

* remove border

* Revert "add changeset"

This reverts commit 29a91ee9dff771663c414880d10815ffe2f6b961.

* add changeset

* add code

* Code

* add code

* add changeset

* Update solid-hands-nail.md

* code

* add metadata typecheck

* trigger ci

* remove thought css

* Revert "remove thought css"

This reverts commit f1ea8f88f6ced9dc8e8897abdfd529952f851954.

* fix tuples - add borders

* lint

* Fix typecheck

* css tweak

* add code

* fix parameter name

---------

Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-13 20:11:43 +00:00
Abubakar Abid
c9ba9a4475
Use the modern lower-case Python types in the API typing information (#10196)
* changes

* add changeset

* add changeset

* add changeset

* changes

* format backend

* format

* fix imagedata

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-13 12:10:47 -08:00
aliabid94
b4004e37ae
Support event + request data in gr.render triggers (#10190)
* 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-12-13 18:50:53 +00:00
Abubakar Abid
494c4ddf6c
Add note that SSR mode is experimental (#10198)
* exp

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-13 09:05:38 -08:00
Hannah
3665e81b53
Allow Chatbot examples to show more than one image (#10111)
* change example image limit to 4

* add changeset

* refactor examples

* redesign examples

* aria improvements

* check for multimodal

* use multimedia icons

* clean up

* remove min-height

* add param

* fix test

* Revert "add param"

This reverts commit f858097240c3615c19650b5d5263c70d6a408fac.

* Revert "fix test"

This reverts commit 41570fa1004965479e7692ee83dd33b1d4c709b0.

* handle icon in chat_interface.py

* remove unused css class

* fix types

* format

* fix test

* - change logic to use example icon for text example if exists
- ensure mixed files can be displayed in multiples

* add stories

* tweaks

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-13 14:17:48 +00:00
Abubakar Abid
20b9d72ebb
Pass value of HF_TOKEN environment variable when loading models with gr.load (#10092)
* verbose

* add changeset

* changes

* maybe fix

* add changeset

* changes

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-12 23:53:14 -08:00
Abubakar Abid
424365bdbd
JSON type fix in Client and and typing fix for /chat endpoint in gr.ChatInterface (#10193)
* fix

* add changeset

* add changeset

* fix

* chat interface fixes

* rename

* add changeset

* format

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-13 01:58:03 +00:00
aliabid94
5e6e234cba
Custom component in rerender (#10170)
* changes

* add changeset

* changes

* Support gr.Examples in gr.render (#10173)

* changes

* changes

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>

* add changeset

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-12 17:40:28 -08:00
Abubakar Abid
e525680316
Clean up gr.ChatInterface and fix API type discrepancy (#10185)
* changes

* add changeset

* changes

* clean

* changes

* format

* changes

* clean

* add

* changes

* add changeset

* mutate

* changes

* fix streaming

* test

* format

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* refactor

* Fixes

* fix

* revert

* revert

* revert

* revert

* changes

* revert^3

* format

* comment

* format

* fix example caching

* modify api test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-12 12:44:32 -08:00
Julien Kirch
22fe4ce5a1
Fix multipart ModuleNotFoundError by renaming import to python_multipart (#10188)
* Fix ModuleNotFoundError

* add changeset

* more changes

* formt

* 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-12-12 11:26:45 -08:00
aliabid94
9cd291b7f1
Resizeable chatbot (#10149)
* changes

* add changeset

* changes

* changes

* 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-12-11 12:47:15 -08:00
Abubakar Abid
23a2958f5e
Add a .click() event and padding parameter to the HTML component (#10155)
* add click event to html

* format

* add changeset

* add padding parameter

* fix test

* format

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-11 09:00:53 -08:00
Dawood Khan
7d70596d0b
Multimodal autofocus fix (#10168)
* autofocus

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-11 09:16:20 -05:00
Kazuhito Yokoi
8ac5b13c96
Add Japanese translations for login UI (#10166)
* Add Japanese translations for login UI

* 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-12-10 16:01:14 -08:00
Abubakar Abid
5f03649668
Let Gradio be typed! (#10167)
* py.typed

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-10 10:52:32 -08:00
Ouail Bendidi
19e1ef52dc
make printing the error message from a gr.Error to the console configurable (#10158)
* make print_exc error configurable

* add changeset

* tweak

* tweak

* review: update traceback printing in queuing and utils

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-10 17:54:07 +00:00
Dawood Khan
2b5530274a
Quick Fix: Fixes autoplay parameter for Audio/Video in Chatbot (#10129)
* chat fixes

* add changeset

* autoplay fix

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-10 09:34:57 -08:00
Hannah
fe7a9db659
Improve uploaded file UI in Chatbot (#10137)
* handle pasted text as file

* test

* add changeset

* remove unneeded test

* update file UI

* add changeset

* Revert "handle pasted text as file"

This reverts commit 1910029f103f89573210ee0a8b62823505a1b1db.

* add changeset

* Revert "test"

This reverts commit 25c17bd8d3505d09cd571382afeeacdec197bd9c.

* story

* remove border

* Revert "add changeset"

This reverts commit 29a91ee9dff771663c414880d10815ffe2f6b961.

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-10 15:50:32 +00:00
Freddy Boulton
3a053cc76c
Fix chatbot visible prop not reacting to changes (#10161)
* Fix bug

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-09 15:13:56 -08:00
Hannah
3e93740f05
Improve pasted text behaviour in Multimodaltextbox (#10135)
* handle pasted text as file

* test

* add changeset

* remove unneeded test

* add max_plain_text_length param

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-09 21:37:29 +00:00
Kazuhito Yokoi
7ca36850c9
Add Japanese message into message catalog (#10159)
* Add Japanese message into message catalog

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-09 14:05:01 -06:00
Hongwei Ruan
43d88c32bf
Fix: Added support for show_api in mount_gradio_app (#10097)
* Fix: Added support for show_api in mount_gradio_app

* add changeset

* 2nd Fix: show_api in mount_gradio_app

* 3rd Fix: show_api in mount_gradio_app

* Update gradio/routes.py

* Update gradio/routes.py

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-08 00:32:23 -06:00
Anirban Basu
d5b299cfb2
Fixes ERR_PNPM_UNSUPPORTED_ENGINE while creating a devcontainer. (#10154)
Details: https://github.com/gradio-app/gradio/issues/10141#issuecomment-2525108481
2024-12-08 00:16:36 -06:00
Abubakar Abid
48e4aa9d62
adds a run_examples_on_click parameter to gr.ChatInterface mirroring the the run_on_click parameter in gr.Examples (#10109)
* add param

* add changeset

* add changeset

* more changes

* add changeset

* slight refactor

* add changeset

* fix

* fixes

* tweak

* clean

* clean

* lint

* upload

* notebook

* more testing

* changes

* notebook

* add changeset

* notebooks

* format

* format

* fix undo

* changes

* changes

* fix

* changes

* fix assert

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-07 09:51:00 -06:00
Hannah
6645518a66
Tweak Chatbot bubble_full_width behaviour (#10132) 2024-12-07 01:00:18 +00:00
Abubakar Abid
b7e40414bb
env variable' (#10147) 2024-12-06 14:10:22 -06:00
Abubakar Abid
d5ae3a0049
Update devcontainers (#10146)
* change

* update

* update
2024-12-06 10:08:36 -06:00
Muspi Merol
cb5b89108e
Refactor NO_RELOAD implementation (#10088)
* Refactor `NO_RELOAD` implementation

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-06 15:54:05 +00:00
Abubakar Abid
0248c6d9d8
upgrade (#10145) 2024-12-06 09:42:25 -06:00