gregarific commited on
Commit
083205d
1 Parent(s): c138294

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -127,7 +127,7 @@ detection_model = load_model()
127
  tab1 = gr.Interface(fn=predict,
128
  inputs=gr.Image(type="pil"),
129
  outputs=gr.Image(type="pil"),
130
- examples=sample_images,
131
  title="Object Detection (WheelChair & Motorized WheelChair)",
132
  description='Model Applied: SSD MobileNet V2 320x320.'
133
  )
@@ -140,8 +140,8 @@ tab2 = gr.Interface(
140
  fn=process_video,
141
  inputs=gr.File(label="Upload a Video"),
142
  outputs=gr.File(label="Output Analysis"),
143
- title='Object Detection (WheelChair & Motorized Wheelchair)',
144
  examples=["Wheelchair Snippet.mp4"],
 
145
  description='Model Applied: SSD MobileNet V2 320x320'
146
  )
147
 
 
127
  tab1 = gr.Interface(fn=predict,
128
  inputs=gr.Image(type="pil"),
129
  outputs=gr.Image(type="pil"),
130
+ examples=[["sample1.jpg],["sample2.jpg"],["sample3.jpg"]],
131
  title="Object Detection (WheelChair & Motorized WheelChair)",
132
  description='Model Applied: SSD MobileNet V2 320x320.'
133
  )
 
140
  fn=process_video,
141
  inputs=gr.File(label="Upload a Video"),
142
  outputs=gr.File(label="Output Analysis"),
 
143
  examples=["Wheelchair Snippet.mp4"],
144
+ title='Object Detection (WheelChair & Motorized Wheelchair)',
145
  description='Model Applied: SSD MobileNet V2 320x320'
146
  )
147