gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
34.36k stars 2.61k forks source link

Disable typing in Chatinterface textbox while Chatbot is generating #8911

Closed abidlabs closed 2 months ago

abidlabs commented 4 months ago

e.g. here: https://huggingface.co/spaces/gokaygokay/Gemma-2-llamacpp

While the Chatbot is generating, a user can submit multiple messages, which is not good from a ui perspective and could lead to a weird state. Better to disable typing while the user is generating (cc @osanseviero)

abidlabs commented 2 months ago

Closed via https://github.com/gradio-app/gradio/pull/9328