OppaAI commited on
Commit
a3fed0c
·
verified ·
1 Parent(s): 8e9969d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -89,7 +89,11 @@ with gr.Blocks() as demo:
89
  gr.Markdown("## 🎥 Robot Vision Webcam Stream")
90
 
91
  with gr.Row():
92
- webcam_input = gr.Image(label="Captured from Web-Cam, sources=['upload', 'webcam'], type="pil"),
 
 
 
 
93
  description_out = gr.Textbox(label="Description")
94
  human_out = gr.Textbox(label="Human")
95
  objects_out = gr.Textbox(label="Objects")
@@ -102,5 +106,8 @@ with gr.Blocks() as demo:
102
  stream_every=0.5
103
  )
104
 
 
 
 
105
  if __name__ == "__main__":
106
  demo.launch()
 
89
  gr.Markdown("## 🎥 Robot Vision Webcam Stream")
90
 
91
  with gr.Row():
92
+ webcam_input = gr.Image(
93
+ label="Captured from Web-Cam",
94
+ sources=['upload', 'webcam'],
95
+ type="pil"
96
+ )
97
  description_out = gr.Textbox(label="Description")
98
  human_out = gr.Textbox(label="Human")
99
  objects_out = gr.Textbox(label="Objects")
 
106
  stream_every=0.5
107
  )
108
 
109
+ demo.launch()
110
+
111
+
112
  if __name__ == "__main__":
113
  demo.launch()