Comments (2)
Hi @sumitsahoo the gr.ChatInterface
high-level class does not support sending multiple user messages back. You need to send a single message, although you could potentially include images or audio by rendering the HTML, e.g.
def bot(message, history):
return "And here is the image <br> <img src=...> <br> and here is the audio: <br> <audio src="...">"
For more flexibility in creating demos, you would need to create a Chatbot component using the low-level Blocks class, as described here: https://www.gradio.app/guides/creating-a-custom-chatbot-with-blocks
from gradio.
Thanks, workaround works for now 👍🏻
from gradio.
Related Issues (20)
- Right-handed coordinate system in 3D viewer
- Why can't my images be displayed in gr.Gallery() HOT 1
- Gradio for .NET developers HOT 1
- How to modify gr. State (global variable) while the global variable changes HOT 3
- gr.State JSON serializable, when there's a reload HOT 1
- Fooocus NOT WORKING on Google Colab's Gradio Link HOT 2
- ReadTimeout: The read operation timed out HOT 1
- Suddenly the chatbot stop working fromn colab HOT 2
- Allow installing `@gradio/client` via cdn HOT 1
- The background color displays differently on different computers HOT 4
- Connection errored out and new bug
- Dataframe not showing all items
- Drag-and-drop feature for ImageEditor
- Limit the amount of values shown in a Dropdown element. HOT 2
- Be able to create custom components by composing existing Gradio components in Python
- Additional parameters in ChatInterface have incorrect names HOT 1
- The broken JavaScript client HOT 2
- VideoEditor supports mask brush drawing?
- Limit oauth logins HOT 4
- submit_btn in multimodal not working as intended.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradio.