Abubakar Abid
afe0b139fa
Fix regression around chatbot thoughts not being collapsible ( #10922 )
...
* changes
* add changeset
* add changeset
* changes
* changes
* changes
* format
* update docs
* docs
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-04-01 13:10:43 -07:00
Freddy Boulton
c05610c87d
Add Deep Links ( #10834 )
...
* WIP
* Fix
* roughdraft
* Workinig
* query params
* add changeset
* modify
* revert
* lint
* Code
* Fix
* lint
* Add code
* Fix
* Fix python unit tests
* Update `markupsafe` dependency version (#10820 )
* changes
* add changeset
* type
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Adds a watermark parameter to `gr.Chatbot` that is added to copied text (#10814 )
* changes
* add changeset
* format'
* test
* copy
* changes
* doc
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix gr.load_chat (#10829 )
* changes
* add changeset
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix typo in docstring of Request class in route_utils.py (#10833 )
* Fix cell menu not showing in non-editable dataframes (#10819 )
* remove editable condition
* - add test
- improve html semantics
* add changeset
* fix test
* fix test
* - fix test
- fix column widths changing on sort
* swap e2e for story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Sketch code generator (#10824 )
* changes
* changes
* add changeset
* 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>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* chore: update versions (#10811 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* minor fixes
* fix
* Add guide
* Minor tweaks
* Address comments
---------
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>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Abdesselam Benameur <abdesselambenameur.pro@gmail.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Gradio PR Bot <121576822+gradio-pr-bot@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-21 14:15:34 -04:00
Philipp Schreiber
ff2cd9205b
Update 08_file-access.md ( #10853 )
...
* Update 08_file-access.md
Added a minimal example to the documentation based on the fix described in issue [9763](https://github.com/gradio-app/gradio/issues/9763 ) since there seems to be no explicit example anywhere else.
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-03-21 06:53:56 -04:00
n00b
30a0deb8f1
Fix typo in 01_getting-started-with-the-python-client.md ( #10843 )
2025-03-20 14:23:06 -04:00
Stefan M.
0a51d51aa4
Fix typo in 13_client-side-functions.md ( #10807 )
2025-03-14 17:21:50 -04:00
Abubakar Abid
997ecb40f8
Adds a tutorial explaining share links, debugging share issues, and how to set up your own share server ( #10761 )
...
* changes
* more
* changes
* add changeset
* add tutorial
* revert
* antivirus
* delete changeset
* Update guides/10_other-tutorials/understanding-gradio-share-links.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/10_other-tutorials/understanding-gradio-share-links.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2025-03-13 09:58:22 -07:00
Abubakar Abid
4f431fda32
Add gradio sketch
to quickstart ( #10760 )
...
* readme
* changes
* changes
* changes
* changes
2025-03-08 01:30:24 -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
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
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
Bryce Guinta
68a6baa83c
Update 03_state-in-blocks.md ( #10672 )
...
* Update 03_state-in-blocks.md
https://github.com/gradio-app/gradio/issues/10263
* update note
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-25 11:47:30 -08:00
Diogo Neves
c7b26415b1
Simple fix for typo in 01_blocks-and-event-listeners.md ( #10655 )
2025-02-24 16:43:20 -08:00
Bryce Guinta
5aa9925e8a
Add documentation example for chatbot.clear ( #10618 )
...
* Add documentation example for chatbot.clear
* guide
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-18 16:33:26 -08:00
Ali Abdalla
c4aa8864da
Semantic search in the playground ( #10511 )
...
* wording
* something
* changes
* some refactoring
* use error modal
* formatting
* add changeset
* fix problems with guide
* formatting
* oops
* changes
* scripts
* some experiment
* merge
* changes
* use branch until merge
* add changeset
* cleanup
* fix preview demo width
* multiple lines in the prompt
* better font-sizes
* remove white gap above code
* fix enter creating new line
* better styling for suggested demos
* mark edited demos in ui
* font, and arrow issue
* pressing x on error modal actually closes
* random typo on frontend guide
* upload demo requirements
* hide preview for non-lite demos
* fix existing code too long error
* fixes
* formatting
* add changeset
* error regen fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-13 11:02:55 -08:00
Yuichiro Tachibana (Tsuchiya)
a69c61c302
Fix the embedded Lite apps in the docs ( #10488 )
...
* Fix guides/09_gradio-clients-and-lite/06_gradio-lite-and-transformers-js.md to display the embedded Gradio-Lite apps properly
* Fix Gradio-Lite loaders
* add changeset
* add changeset
* Revert "Fix Gradio-Lite loaders"
This reverts commit 2178f485be58f617f0daa5fb4f0d5efb4436461b.
* delete changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-11 11:11:05 -08:00
Freddy Boulton
9b87e12f1a
Fix gr.Plot change/load events and plotly css loaded ( #10544 )
...
* Fix
* Remove load'
* add changeset
* clear event remove
---------
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-08 00:56:22 +00:00
Erin Olmon
5ead57537e
Fix minor typo in chatbot guide ( #10508 )
2025-02-04 23:37:58 -08:00
aliabid94
2e8dc74f75
Allow building multipage Gradio apps ( #10433 )
...
* changes
* add changeset
* changes
* chnages
* changes
* changes
* add changeset
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* chagnes
* Update js/core/src/Blocks.svelte
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update js/core/src/Blocks.svelte
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* changes
* chagnes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* docs
* changes
* changes
* changes
* rename guide
* rename guide
* changes
* chagnes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add changeset
* try skipping
* 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>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2025-02-04 19:09:00 -08:00
aliabid94
39f0c23303
Allow image uploads to gr.load_chat ( #10345 )
...
* changes
* add changeset
* changes
* changes
* chagens
* changes
* changes
* chagnges
* changes
* changes
* Update gradio/external.py
* changes
* simplify tests
---------
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-03 20:01:11 +00:00
Ali Abdalla
90f90b7989
Add sidebar to the docs ( #10480 )
...
* fixes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-01 00:58:26 -08:00
Dawood Khan
ef66fe52b2
Sidebar Component ( #10435 )
...
* sidebar
* more sidebar
* add changeset
* Update gradio/layouts/sidebar.py
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* changes
* format
* format backend
* responsive
* format
* layout fix
* format
* fixes
* demo
* layout and shadow
* test
* test fix
* format
* changes
* revert
* snake case
* revert
* add warning for multiple sidebar
* changes
* fix stories
* fix height
* test fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-30 13:49:27 -08:00
Yuvraj Sharma
d291dca964
added guide for Anthropics Citations API ( #10439 )
...
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2025-01-28 15:40:42 -08:00
Abubakar Abid
9dc5d157aa
Tweak behavior related to the status
of gr.Chatbot
thought messages ( #10404 )
...
* chatbot
* changes
* add changeset
* changes
* format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-22 12:09:46 -08:00
Ali Abdalla
812f2d8a3f
Playground fixes and refactoring ( #10388 )
...
* wording
* something
* changes
* some refactoring
* use error modal
* formatting
* add changeset
* fix problems with guide
* formatting
* oops
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-22 00:03:03 -08:00
Abubakar Abid
4d47e4b4e2
Add a log
parameter to Chatbot metadata that allows displaying str
content next to the thought title ( #10392 )
...
* changes
* changes
* chatbot
* format
* add changeset
* changes
* changes
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-20 22:43:04 -08:00
Erfan Asgari
98e4bf369f
fixed 2 typos in guides ( #10393 )
2025-01-20 07:41:03 -08:00
Yuichiro Tachibana (Tsuchiya)
b0cf92f03b
PWA icon customization ( #10341 )
...
* Use a single icon file with 'any' size for PWA
* Add Blocks.pwa_icon option for the developer to specify the PWA icon
* add changeset
* Add docstring
* Use favicon_path for PWA icons
* target blank
* format
* add changeset
* Add a new section about PWA to the guide
* Add pwa_icon path to proxy config
* Move guide image files to another repo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-16 14:00:54 +00:00
Abubakar Abid
5881296ea5
Improve component docstrings and misc docs ( #10367 )
...
* clarify docstrings
* add changeset
* drodpown
* update
* remove fe demo
* add changeset
* changes
* changes
* changes
* add state docs
* lint
* changes
* typo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-16 00:54:10 +00:00
Abubakar Abid
c44da259fe
Allow modifying the chatbot value directly in gr.ChatInterface
( #10359 )
...
* changes
* changes
* add changeset
* format
* blank
* notebook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-15 07:40:12 -08:00
Abubakar Abid
43e05d72f4
Document additional helper classes for gr.Chatbot
( #10346 )
...
* changes
* format
* add changeset
* changes
* changes
* fix
* changes
* typed
* typed
* changes
* format
* fix typing
* changes
* changes
* tweaks
* tweak
* tweak
* tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2025-01-14 10:43:37 -08:00
Abubakar Abid
decb594455
Update guide for gr.load_chat
and allow **kwargs
( #10331 )
...
* changes
* changes
* format
* add changeset
* add changeset
* docs
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-10 10:28:16 -08:00
Abubakar Abid
be40307d1d
Add support for thinking LLMs directly in gr.ChatInterface
( #10305 )
...
* ungroup thoughts from messages
* rename messagebox to thought
* refactor
* * add metadata typing
* group thoughts when nested
* tweaks
* tweak
* add changeset
* fix expanded rotation
* border radius
* update thought design
* move spinner
* prevent circular reference
* revert border removal
* css tweaks
* border tweak
* move chevron to the left
* tweak nesting logic
* thought group spacing
* update run.py
* icon changes
* format
* add changeset
* add nested thought demo
* changes
* changes
* changes
* add demo
* docs
* guide
* refactor styles and clean up logic
* revert demo change and and deeper nested thought to demo
* add optional duration to message types
* add nested thoughts story
* format
* guide
* change dropdown icon button
* remove requirement for id's in nested thoughts
* support markdown in thought title
* get thought content in copied value
* add funcs to utils
* move is_all_text
* remove comment
* notebook
* change bot padding
* changes
* changes
* changes
* panel css fix
* changes
* changes
* changes
* changes
* tweak thought content opacity
* more changes
* add changeset
* changes
* restore
* changes
* changes
* revert everythign
* revert everythign
* revert
* changes
* revert
* make changes to demo
* notebooks
* more docs
* format
* changes
* changes
* update demo
* fix typing issues
* chatbot
* document chatmessage helper class
* add changeset
* changes
* format
* docs
---------
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2025-01-10 00:06:07 +00:00
Abubakar Abid
5ce2832497
Support saving chat history in gr.ChatInterface
( #10191 )
...
* save history prototype
* add changeset
* 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>
* 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>
* history
* changes
* changes
* changes
* history
* changes
* changes
* changes
* format
* add changeset
* changes
* changes
* more changes
* changes
* dataset changes
* changes
* add changeset
* add md variant for button
* add changeset
* changes
* changes
* format
* format
* add changeset
* changes
* changes
* more changes
* changes
* changes
* add changeset
* changes
* docs
* changes
* changes
* changes
* changes
* fix
* fix tests
* change
* add changeset
* fix logo issue
* changes
* version
* add changeset
* fix typecheck
* remove redundant
* pkg version
* add changeset
* changes
* Revert "changes"
This reverts commit 13bfe8c485d049f7d8c6f1e5c13e2bc04ab71dd5.
* reorganize code
* format
* changes
* add to deployed demos
* fix icons
* fix icon
* lint
* changes
* example
* changes
* fix buttons
* add changeset
* format
* add changeset
* update icon
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood <dawoodkhan82@gmail.com>
Co-authored-by: Dmitry Ustalov <dmitry.ustalov@gmail.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2025-01-04 17:42:05 +00:00
aliabid94
a1f2649586
Chat Interface flagging and chatbot feedback ( #10272 )
...
* changes
* add changeset
* changes
* Update gradio/flagging.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/chat_interface.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/chat_interface.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/chat_interface.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/chat_interface.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/chatbot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* Update gradio/components/chatbot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* doc 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-01-03 14:05:22 +00:00
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
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
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
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
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
Abubakar Abid
b7e40414bb
env variable' ( #10147 )
2024-12-06 14:10:22 -06:00
Abubakar Abid
3a6151e942
Add docs for additional_outputs
in gr.ChatInterface
( #10130 )
...
* changes
* change
2024-12-05 13:46:14 -06:00
Abubakar Abid
01b919f04b
Support additional_outputs
in gr.ChatInterface
( #10071 )
...
* artifacts
* add changeset
* chatinterface
* guide fixes
* example
* zerogpu
* Revert "zerogpu"
This reverts commit 4d7b5882ae9bb00b5d0b17d23d0a567ee329a7ec.
* changes
* submit fn
* chat interface
* changes
* add changeset
* notebook
* lint
* type
* regex
* add changeset
* fixes
* line
* fixes
* formatting
* change
* change
* add guard
* link to playground demo
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2024-12-02 16:16:07 -05:00
Abubakar Abid
368ba73106
Update Chat Interface examples and add more LLM libraries and API providers ( #10025 )
...
* docs
* guide
* langchain
* changes
* reduce
* llama index example
* demo
* demo
* reduce
* add comment
* fix langchain example
* reduce
* guide
* openai demo
* changes
* sambanova
* hyperbolic
* push
* guide
* add chatbot demos to playground
* add changeset
* claude
* restore
* fix data model
* add changeset
* claude demo
* more changes
* Update guides/05_chatbots/02_chat_interface_examples.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/05_chatbots/02_chat_interface_examples.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/05_chatbots/02_chat_interface_examples.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/05_chatbots/02_chat_interface_examples.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/05_chatbots/02_chat_interface_examples.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/05_chatbots/02_chat_interface_examples.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* more examples
* reduce
* changes
* notebooks
* lint
* Fixes creating chatbot fast guide and website build issues (#10060 )
* fixes
* formatting
* examples
---------
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-28 14:07:39 -05:00
郭文涛
1b121189f3
fix the doc problem of outdated information about concurrency_count
( #10026 )
...
* Update 01_queuing.md
* Update guides/04_additional-features/01_queuing.md
* Update guides/04_additional-features/01_queuing.md
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-11-23 23:47:37 -06:00
Abubakar Abid
db162bfc59
enable lazy caching for chatinterface ( #10015 )
...
* lazy chat
* add changeset
* lazy caching
* lazy caching
* revert
* fix this
* changes
* changes
* format
* changes
* add env variable
* revert
* add changeset
* lazy
* fix
* chat interface
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-23 20:24:55 +00:00
Abubakar Abid
369a44e7f8
Add ability to provide preset response options in gr.Chatbot
/ gr.ChatInterface
( #9989 )
...
* options
* add changeset
* list
* types
* add changeset
* types
* docs
* changes
* more docs
* chatbot
* changes
* changes
* changes
* format
* notebooks
* typedict
* docs
* console logs
* docs
* docs
* styling
* docs
* Update guides/05_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/05_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/05_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/05_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/05_chatbots/02_chat_interface_examples.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/05_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* restore
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-11-22 00:19:52 +00:00