Oliver Hahn
commited on
Commit
·
3398a0c
1
Parent(s):
6dcd6be
fix
Browse files
app.py
CHANGED
@@ -49,13 +49,13 @@ if __name__ == '__main__':
|
|
49 |
inputs=[
|
50 |
gr.Image(type="filepath", label="Image"),
|
51 |
gr.Slider(0.0, 1.0, step=0.05, value=0.4, label="Threshold"),
|
52 |
-
gr.Dropdown(choices=['dino_vits', 'dino_vitb', 'dinov2_vits', 'dinov2_vitb'], value='
|
53 |
],
|
54 |
outputs=gr.Image(label="PriMaPs"),
|
55 |
title="PriMaPs Demo",
|
56 |
description="Upload an image and adjust the threshold to visualize PriMaPs.",
|
57 |
examples=[
|
58 |
-
["example.jpg", 0.4, '
|
59 |
]
|
60 |
)
|
61 |
|
|
|
49 |
inputs=[
|
50 |
gr.Image(type="filepath", label="Image"),
|
51 |
gr.Slider(0.0, 1.0, step=0.05, value=0.4, label="Threshold"),
|
52 |
+
gr.Dropdown(choices=['dino_vits', 'dino_vitb', 'dinov2_vits', 'dinov2_vitb'], value='dino_vits', label="SSL Features"),
|
53 |
],
|
54 |
outputs=gr.Image(label="PriMaPs"),
|
55 |
title="PriMaPs Demo",
|
56 |
description="Upload an image and adjust the threshold to visualize PriMaPs.",
|
57 |
examples=[
|
58 |
+
["example.jpg", 0.4, 'dino_vits'],
|
59 |
]
|
60 |
)
|
61 |
|