gregarific commited on
Commit
98b0d29
·
1 Parent(s): a1d54a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -136,8 +136,8 @@ tab1 = gr.Interface(fn=predict,
136
  inputs=gr.Image(type="pil"),
137
  outputs=gr.Image(type="pil"),
138
  examples=sample_images,
139
- title="Image - Object Detection (WheelChair vs Motorized WheelChair)",
140
- description='Model used: SSD MobileNet V1 FPN 640x640.'
141
  )
142
 
143
  #gr.Interface(fn=predict,
@@ -146,9 +146,9 @@ tab1 = gr.Interface(fn=predict,
146
  # ).launch(share=True)
147
  tab2 = gr.Interface(
148
  fn=process_video,
149
- inputs=gr.File(label="Upload a video"),
150
- outputs=gr.File(label="output"),
151
- title='Video - Object Detection (WheelChair Type)'
152
  )
153
 
154
 
 
136
  inputs=gr.Image(type="pil"),
137
  outputs=gr.Image(type="pil"),
138
  examples=sample_images,
139
+ title="Object Detection (WheelChair vs Motorized WheelChair)",
140
+ description='Model Applied: SSD MobileNet V1 FPN 640x640.'
141
  )
142
 
143
  #gr.Interface(fn=predict,
 
146
  # ).launch(share=True)
147
  tab2 = gr.Interface(
148
  fn=process_video,
149
+ inputs=gr.File(label="Upload a Video"),
150
+ outputs=gr.File(label="Output Analysis"),
151
+ title='Video - Object Detection (WheelChair Type)', Example=[["WheelChair Snippet.mp4"]]
152
  )
153
 
154