How to call two functions at the same time
I have a function which can yield a picture every second. I will append the picture to the end a list.I want to repeatedly render all the picture in the list as a video (but every time the video is played, total frames will grow with time). So I design another function in a infinite loop to yield the picture of the list to a gradio Picture at 30Hz. But how to call them both at a time??Can anyone help me? Thanks very much!
2023-08-21T13:27:12Z
Hi@Chen-Baosorry I don’t understand the question… can you elaborate a bit more and provide a code example?