You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a visual avatar that can interact with the user. The avatar is comprised of numerous short videos that are played one after another to look reasonably life-like. If an audio question is asked the avatar will nod its head and then respond with the verbal answer using a wav2lip generated video. Gradio can play videos back but the screen goes black at the end of a video or multiple videos - so dynamically introducing a response to the user looks very disjointed. I was hoping to use fastRTC web camera video stream to make it appear that the multiple dynamic video files are just one stream. Currently, when using modality "video" and mode "receive" the files can be played back using cv2 but it is not possible to maintain continuous stream without it ending and having to press "Start Streaming" again. Ideally, a thread could be created that could iterate through a dynamically changing file list and stream video to the display.