Spaces:
Runtime error
Runtime error
shivangibithel
commited on
Commit
•
e628f6c
1
Parent(s):
f9d5dab
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,8 @@ from PIL import Image
|
|
9 |
from io import BytesIO
|
10 |
from sentence_transformers import SentenceTransformer
|
11 |
import json
|
|
|
|
|
12 |
|
13 |
# Load the pre-trained sentence encoder
|
14 |
model_name = "sentence-transformers/all-distilroberta-v1"
|
|
|
9 |
from io import BytesIO
|
10 |
from sentence_transformers import SentenceTransformer
|
11 |
import json
|
12 |
+
from huggingface_hub import hf_hub_download
|
13 |
+
hf_hub_download(repo_id="shivangibithel/Flickr8k", filename="Images.zip")
|
14 |
|
15 |
# Load the pre-trained sentence encoder
|
16 |
model_name = "sentence-transformers/all-distilroberta-v1"
|