Spaces:
Sleeping
Sleeping
Commit
·
98b0d29
1
Parent(s):
a1d54a1
Update app.py
Browse files
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="
|
| 140 |
-
description='Model
|
| 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
|
| 150 |
-
outputs=gr.File(label="
|
| 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 |
|