# Two text submit buttons in gr.ChatInterface to simulate a conversation

**URL:** <https://discuss.huggingface.co/t/two-text-submit-buttons-in-gr-chatinterface-to-simulate-a-conversation/57231>\
**Category:** 🔒 Gradio\
**Created:** [October 3, 2023, 11:08am UTC](https://discuss.huggingface.co/t/two-text-submit-buttons-in-gr-chatinterface-to-simulate-a-conversation/57231 "2023-10-03T11:08:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ykacer](https://avatars.discourse-cdn.com/v4/letter/y/eb8c5e/32.png) [@ykacer](https://discuss.huggingface.co/u/ykacer)\
**Post date:** [October 3, 2023, 11:08am UTC](https://discuss.huggingface.co/t/two-text-submit-buttons-in-gr-chatinterface-to-simulate-a-conversation/57231/1 "2023-10-03T11:08:08Z")

</div>

Hi all,

My objective is to leverage `gr.ChatInterface()` to provide two text submit boxes, to let everyone simulate a conversation between an end user and an agent. Here is an illustration of what i would like to achieve.

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/d/e/de852a4bc611dfd5a0a60c612b50acaa75b1b75f.png)

I am looking at the `chatbot` parameter of `gr.ChatInterface()` to provide a custom `gr.Chatbot()`.  
But before diving in it, I just want to know if it is the right way to do or not. Is it achievable in a reasonable time?  
My final objective behind is to propose a demo, where an LLM will continuously provide suggestions to Agent, regarding chat history. The Agent textbox then allows you to choose and submit one of the suggestions, and so on…

Thanks for any feedback that could help me!

Regards
