Spaces:
Build error
Build error
vincentclaes
commited on
Commit
•
6b8803d
1
Parent(s):
d0fadab
update model
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
from PIL import Image
|
4 |
from transformers import CLIPProcessor, CLIPModel
|
5 |
|
6 |
-
checkpoint = "vincentclaes/emoji-predictor
|
7 |
no_of_emojis = range(20)
|
8 |
emojis_as_images = [Image.open(f"emojis/{i}.png") for i in no_of_emojis]
|
9 |
K = 4
|
|
|
3 |
from PIL import Image
|
4 |
from transformers import CLIPProcessor, CLIPModel
|
5 |
|
6 |
+
checkpoint = "vincentclaes/emoji-predictor"
|
7 |
no_of_emojis = range(20)
|
8 |
emojis_as_images = [Image.open(f"emojis/{i}.png") for i in no_of_emojis]
|
9 |
K = 4
|