Update app.py
Browse files
app.py
CHANGED
|
@@ -166,7 +166,9 @@ with gr.Blocks(title="Mapillary Finder — Minimal", fill_height=True) as demo:
|
|
| 166 |
msg = gr.Markdown("Ready.")
|
| 167 |
with gr.Column(scale=1):
|
| 168 |
table = gr.Code(label="Nearest images (JSON)")
|
| 169 |
-
gallery = gr.Gallery(label="Thumbnails"
|
|
|
|
|
|
|
| 170 |
|
| 171 |
def _run(a, r, topk):
|
| 172 |
try:
|
|
|
|
| 166 |
msg = gr.Markdown("Ready.")
|
| 167 |
with gr.Column(scale=1):
|
| 168 |
table = gr.Code(label="Nearest images (JSON)")
|
| 169 |
+
gallery = gr.Gallery(label="Thumbnails", columns=[4], height="auto")
|
| 170 |
+
|
| 171 |
+
|
| 172 |
|
| 173 |
def _run(a, r, topk):
|
| 174 |
try:
|