Spaces:
Sleeping
Sleeping
Commit
·
eaa892e
1
Parent(s):
c921c68
Updating image size
Browse files
app.py
CHANGED
@@ -43,12 +43,12 @@ examples = [["image_1.jpg", 0.25, 0.45, 'A black tire'],
|
|
43 |
["image_10.jpg", 0.25, 0.45, 'A rope railing']]
|
44 |
|
45 |
demo = gr.Interface(inference,
|
46 |
-
inputs = [gr.Image(width=
|
47 |
gr.Slider(0, 1, 0.25, label="Confidence Threshold"),
|
48 |
gr.Slider(0, 1, 0.45, label="IoU Thresold"),
|
49 |
gr.Textbox(label="Enter text promp", type="text"),],
|
50 |
-
outputs= [gr.Image(width=
|
51 |
-
gr.Image(width=
|
52 |
title=title,
|
53 |
description=description,
|
54 |
examples=examples)
|
|
|
43 |
["image_10.jpg", 0.25, 0.45, 'A rope railing']]
|
44 |
|
45 |
demo = gr.Interface(inference,
|
46 |
+
inputs = [gr.Image(width=320, height=320, label="Input Image"),
|
47 |
gr.Slider(0, 1, 0.25, label="Confidence Threshold"),
|
48 |
gr.Slider(0, 1, 0.45, label="IoU Thresold"),
|
49 |
gr.Textbox(label="Enter text promp", type="text"),],
|
50 |
+
outputs= [gr.Image(width=320, height=320, label="Output SAM"),
|
51 |
+
gr.Image(width=320, height=320, label="Output text prompt")],
|
52 |
title=title,
|
53 |
description=description,
|
54 |
examples=examples)
|