RashiAgarwal
commited on
Commit
•
2ce5d17
1
Parent(s):
9a09293
Update app.py
Browse files
app.py
CHANGED
@@ -12,9 +12,9 @@ gr.Interface(
|
|
12 |
inference,
|
13 |
inputs=[
|
14 |
gr.Image(label="Input Image"),
|
15 |
-
gr.Slider(0, 1, value=0.
|
16 |
-
gr.Slider(0, 1, value=0.
|
17 |
-
gr.Checkbox(label="Show
|
18 |
gr.Slider(0, 1, value=0.5, label="Opacity of GradCAM"),
|
19 |
],
|
20 |
outputs=gr.Gallery(rows=2, columns=1),
|
@@ -35,4 +35,4 @@ gr.Interface(
|
|
35 |
|
36 |
,
|
37 |
layout="horizontal"
|
38 |
-
).launch(
|
|
|
12 |
inference,
|
13 |
inputs=[
|
14 |
gr.Image(label="Input Image"),
|
15 |
+
gr.Slider(0, 1, value=0.50, label="IOU Threshold"),
|
16 |
+
gr.Slider(0, 1, value=0.50, label="Threshold"),
|
17 |
+
gr.Checkbox(label="Show GradCam Image"),
|
18 |
gr.Slider(0, 1, value=0.5, label="Opacity of GradCAM"),
|
19 |
],
|
20 |
outputs=gr.Gallery(rows=2, columns=1),
|
|
|
35 |
|
36 |
,
|
37 |
layout="horizontal"
|
38 |
+
).launch()
|