Gradio api Streaming

So i have a gradio chatbot app that streams itโ€™s text output and i want to use gradio app api to get the output from another place. Currently, it only returns the first word generated. It would be awesome if anyone helped me!

If you use the clientโ€™s submit() function, you can get access to streaming outputs. Hereโ€™s more information on how to do this @YaTharThShaRma999:

Thanks abidlabs!