Hi @Barricade ! Thanks for the question.
If I understand correctly, you鈥檙e trying to periodically run a function to update the UI of your app?
There isn鈥檛 an api to do that in gradio right now. See Make it easier to work with streaming data 路 Issue #2050 路 gradio-app/gradio 路 GitHub. In general, updates to your app have to be triggered through interacting with the UI.
Do you mind sharing a bit more about your use case?