# Gradio api Streaming

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgradio-api-streaming%2F45395%3E%5C
**Category:** 🔒 Gradio\
**Created:** [July 2, 2023, 8:48pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgradio-api-streaming%2F45395 "2023-07-02T20:48:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YaTharThShaRma999](https://avatars.discourse-cdn.com/v4/letter/y/41988e/32.png) [@YaTharThShaRma999](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FYaTharThShaRma999)%5C
**Post date:** [July 2, 2023, 8:48pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgradio-api-streaming%2F45395%2F1 "2023-07-02T20:48:48Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![abidlabs](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abidlabs/32/21878_2.png) [@abidlabs](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fabidlabs)%5C
**Post date:** [July 12, 2023, 5:15am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgradio-api-streaming%2F45395%2F2 "2023-07-12T05:15:14Z")

</div>

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:

> **[Getting Started With The Python Client](https://www.gradio.app/guides/getting-started-with-the-python-client#generator-endpoints)**
>
> A Step-by-Step Gradio Tutorial

---

<div class="post-metadata">

**Author:** ![YaTharThShaRma999](https://avatars.discourse-cdn.com/v4/letter/y/41988e/32.png) [@YaTharThShaRma999](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FYaTharThShaRma999)%5C
**Post date:** [July 12, 2023, 8:58pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgradio-api-streaming%2F45395%2F3 "2023-07-12T20:58:32Z")

</div>

Thanks abidlabs!
