Closed Jason-cs18 closed 1 week ago
@abidlabs
Hi @Jason-cs18 - the best pattern is to chain the submit
event of the textbox with a then
to do the chatbot response. See this demo: https://github.com/gradio-app/gradio/blob/main/demo/chatbot_multimodal/run.py
Is your feature request related to a problem? Please describe.
My goal is to update question and answer sequentially in gr.Chatbot instead of (question, answer) together. In my application, users hope to see the question immediately and then wait for answer/response. But I cannot find any solutions to implement this.
The following is my code:
Describe the solution you'd like
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.