How to get input with response function in chatbot interface

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: