Raumkommander commited on
Commit
e1a4884
·
1 Parent(s): d395597

inital deployment1

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -18,9 +18,8 @@ def video_stream():
18
  with gr.Blocks() as demo:
19
  gr.Markdown("## 🎥 Webcam Stream with Output to a Separate Canvas")
20
 
21
- with gr.Row():
22
- webcam_feed = gr.Video(label="Live Webcam")
23
- canvas_output = gr.Image(label="Canvas - Output Stream")
24
 
25
  start_button = gr.Button("Start Streaming")
26
 
 
18
  with gr.Blocks() as demo:
19
  gr.Markdown("## 🎥 Webcam Stream with Output to a Separate Canvas")
20
 
21
+ webcam_feed = gr.Video(label="Live Webcam", source="webcam", streaming=True)
22
+ canvas_output = gr.Image(label="Canvas - Output Stream")
 
23
 
24
  start_button = gr.Button("Start Streaming")
25