DSatishchandra commited on
Commit
dd8029e
·
verified ·
1 Parent(s): bfdbdc1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -22,8 +22,9 @@ with gr.Blocks() as demo:
22
  upload_btn.click(analyze_and_decide, inputs=upload_video,
23
  outputs=[upload_output, upload_pred, upload_replay])
24
 
25
- with gr.Tab("Live Capture"):
26
- live_video = gr.Camera(label="Record Live Delivery", type="mp4")
 
27
  live_output = gr.Textbox(label="Decision")
28
  live_pred = gr.Video(label="Predicted Trajectory")
29
  live_replay = gr.Video(label="Replay Video")
 
22
  upload_btn.click(analyze_and_decide, inputs=upload_video,
23
  outputs=[upload_output, upload_pred, upload_replay])
24
 
25
+ with gr.Tab("Live Capture (Record & Upload)"):
26
+ gr.Markdown("🎥 Record a video using your webcam and upload it here.")
27
+ live_video = gr.Video(label="Record and Upload Live Delivery")
28
  live_output = gr.Textbox(label="Decision")
29
  live_pred = gr.Video(label="Predicted Trajectory")
30
  live_replay = gr.Video(label="Replay Video")