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>