# How to get input with response function in chatbot interface

**URL:** <https://discuss.huggingface.co/t/how-to-get-input-with-response-function-in-chatbot-interface/64536>\
**Category:** 🔒 Gradio\
**Created:** [December 4, 2023, 3:16pm UTC](https://discuss.huggingface.co/t/how-to-get-input-with-response-function-in-chatbot-interface/64536 "2023-12-04T15:16:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glinty](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@Glinty](https://discuss.huggingface.co/u/Glinty)\
**Post date:** [December 4, 2023, 3:16pm UTC](https://discuss.huggingface.co/t/how-to-get-input-with-response-function-in-chatbot-interface/64536/1 "2023-12-04T15:16:58Z")

</div>

So I am working on getting input with response function in gradio. In python, we have input() where it would pause execution until user provides input, I require similar functionality in gradio in highlighted part of image.  
Example code:

 ![Screenshot 2023-12-04 100850](https://us1.discourse-cdn.com/hellohellohello/original/3X/b/9/b967af8f41cdc6ed21acd314cc8876ad739056f3.png)
