Spaces:
Sleeping
Sleeping
GeorgeSherif commited on
Commit ·
074b7e0
1
Parent(s): d8b1a57
app.py
CHANGED
|
@@ -33,6 +33,7 @@ lock = threading.Lock()
|
|
| 33 |
|
| 34 |
with open('nearest_neighbors_with_captions.json', 'r') as f:
|
| 35 |
results = json.load(f)
|
|
|
|
| 36 |
|
| 37 |
def get_caption_for_image_id(image_id):
|
| 38 |
"""
|
|
|
|
| 33 |
|
| 34 |
with open('nearest_neighbors_with_captions.json', 'r') as f:
|
| 35 |
results = json.load(f)
|
| 36 |
+
print("Loaded JSON data:", results) # Add this line to verify the data
|
| 37 |
|
| 38 |
def get_caption_for_image_id(image_id):
|
| 39 |
"""
|