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 @johnwick123forevr:

Thanks abidlabs!