# Updating progress based on SSE event?

**URL:** <https://discuss.huggingface.co/t/updating-progress-based-on-sse-event/76739>\
**Category:** Beginners\
**Created:** [March 10, 2024, 11:43am UTC](https://discuss.huggingface.co/t/updating-progress-based-on-sse-event/76739 "2024-03-10T11:43:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![happyday1](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/happyday1/32/17711_2.png) [@happyday1](https://discuss.huggingface.co/u/happyday1)\
**Post date:** [March 10, 2024, 11:43am UTC](https://discuss.huggingface.co/t/updating-progress-based-on-sse-event/76739/1 "2024-03-10T11:43:40Z")

</div>

From what I can tell, dynamic updating of an output can occur on a change event on an input. But the input has to be triggered by a user. Is there a way to programmatically update an output (say Textbox) based on receiving an SSE event (e.g.: FastAPI + Gradio)? Or is there a better way to address this challenge (of receiving incoming events from a long running task)? Thank you.
