Spaces:
Runtime error
Runtime error
Commit ·
e1f6923
1
Parent(s): 0d8779b
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,8 +28,6 @@ index.add(vectors)
|
|
| 28 |
|
| 29 |
# Map the image ids to the corresponding image URLs
|
| 30 |
image_map_name = 'captions.json'
|
| 31 |
-
image_map_url = './captions.json'
|
| 32 |
-
wget.download(image_map_url, image_map_name)
|
| 33 |
|
| 34 |
with open(image_map_name, 'r') as f:
|
| 35 |
caption_dict = json.load(f)
|
|
|
|
| 28 |
|
| 29 |
# Map the image ids to the corresponding image URLs
|
| 30 |
image_map_name = 'captions.json'
|
|
|
|
|
|
|
| 31 |
|
| 32 |
with open(image_map_name, 'r') as f:
|
| 33 |
caption_dict = json.load(f)
|