Spaces:
Sleeping
Sleeping
gpbhupinder
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -28,15 +28,15 @@ iface = gr.Interface(
|
|
28 |
fn=predict_image,
|
29 |
inputs=[
|
30 |
gr.Image(type="pil", label="Upload Image"),
|
31 |
-
gr.Slider(minimum=0, maximum=1, value=0.25, label="Confidence threshold"),
|
32 |
-
gr.Slider(minimum=0, maximum=1, value=0.45, label="IoU threshold"),
|
33 |
],
|
34 |
outputs=gr.Image(type="pil", label="Result"),
|
35 |
-
title="
|
36 |
-
description="Upload images for inference.
|
37 |
examples=[
|
38 |
-
[ASSETS / "
|
39 |
-
[ASSETS / "
|
40 |
],
|
41 |
)
|
42 |
|
|
|
28 |
fn=predict_image,
|
29 |
inputs=[
|
30 |
gr.Image(type="pil", label="Upload Image"),
|
31 |
+
# gr.Slider(minimum=0, maximum=1, value=0.25, label="Confidence threshold"),
|
32 |
+
# gr.Slider(minimum=0, maximum=1, value=0.45, label="IoU threshold"),
|
33 |
],
|
34 |
outputs=gr.Image(type="pil", label="Result"),
|
35 |
+
title="GP Wolf Classifier",
|
36 |
+
description="Upload images for inference.",
|
37 |
examples=[
|
38 |
+
[ASSETS / "gp.jpg", 0.25, 0.45],
|
39 |
+
[ASSETS / "wolf.jpg", 0.25, 0.45],
|
40 |
],
|
41 |
)
|
42 |
|