mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 18:09:23 +08:00
Lots of bugs
This commit is contained in:
@@ -48,7 +48,7 @@ with gr.Blocks() as demo:
|
||||
input_video = gr.Video(sources="upload")
|
||||
with gr.Column():
|
||||
output_video = WebRTC(label="Video Stream", rtc_configuration=rtc_configuration,
|
||||
mode="receive", modality="video")
|
||||
mode="receive", modality="video")
|
||||
output_video.stream(
|
||||
fn=generation, inputs=[input_video], outputs=[output_video],
|
||||
trigger=input_video.upload
|
||||
|
||||
Reference in New Issue
Block a user