Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def find_similar(img, top_k):
|
|
| 44 |
Image.fromarray((X_ref[i].reshape(28, 28) * 255).astype(np.uint8))
|
| 45 |
for i in top_idx
|
| 46 |
]
|
| 47 |
-
return table,
|
| 48 |
|
| 49 |
with gr.Blocks() as demo:
|
| 50 |
|
|
|
|
| 44 |
Image.fromarray((X_ref[i].reshape(28, 28) * 255).astype(np.uint8))
|
| 45 |
for i in top_idx
|
| 46 |
]
|
| 47 |
+
return table, gallery_imgs
|
| 48 |
|
| 49 |
with gr.Blocks() as demo:
|
| 50 |
|