Clear Chat Interface

I’ll take a look. Some quick notes:

  1. If you’d like to bring gr.Chatbot() into the main Blocks, just set render=False, e.g. gr.Chatbot(render=False)

  2. But in your code example you shouldn’t even need to define a gr.Chatbot since you’re using the default implementation of gr.ChatInterface which creates a gr.Chatbot for you. So you can just skip the chatbot parameter and everything will be the same.

Does that fix anything for you?

1 Like