Spaces:
Runtime error
Runtime error
SajjadAyoubi
commited on
Commit
•
ccd28c4
1
Parent(s):
69d66c8
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from transformers import RobertaModel, AutoTokenizer
|
|
6 |
|
7 |
tokenizer = AutoTokenizer.from_pretrained('SajjadAyoubi/clip-fa-text')
|
8 |
text_encoder = RobertaModel.from_pretrained('SajjadAyoubi/clip-fa-text').eval()
|
9 |
-
image_embeddings = torch.load('
|
10 |
links = np.load('data.npy', allow_pickle=True)
|
11 |
|
12 |
|
|
|
6 |
|
7 |
tokenizer = AutoTokenizer.from_pretrained('SajjadAyoubi/clip-fa-text')
|
8 |
text_encoder = RobertaModel.from_pretrained('SajjadAyoubi/clip-fa-text').eval()
|
9 |
+
image_embeddings = torch.load('embeddings.pt')
|
10 |
links = np.load('data.npy', allow_pickle=True)
|
11 |
|
12 |
|