Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,9 +60,9 @@ def process_image(image):
|
|
60 |
|
61 |
def inference(image):
|
62 |
""""""
|
63 |
-
|
64 |
|
65 |
-
input_image = encoded_images[2000]
|
66 |
|
67 |
nearest_neighbors = find_nearest_neighbors(encoded_images, input_image, top_n=5)
|
68 |
|
|
|
60 |
|
61 |
def inference(image):
|
62 |
""""""
|
63 |
+
input_image = process_image(image)
|
64 |
|
65 |
+
# input_image = encoded_images[2000]
|
66 |
|
67 |
nearest_neighbors = find_nearest_neighbors(encoded_images, input_image, top_n=5)
|
68 |
|