Spaces:
Runtime error
Runtime error
Alberto Carmona
commited on
Commit
•
2f08c6b
1
Parent(s):
118c782
Replace a deprecated value
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ from timm.models.vision_transformer import resize_pos_embed
|
|
99 |
clip_model, clip_transform = clip.load("RN50", jit=False, device=device)
|
100 |
|
101 |
preprocess = Compose([
|
102 |
-
Resize((448, 448), interpolation=Image.BICUBIC),
|
103 |
CenterCrop((448, 448)),
|
104 |
ToTensor()
|
105 |
])
|
|
|
99 |
clip_model, clip_transform = clip.load("RN50", jit=False, device=device)
|
100 |
|
101 |
preprocess = Compose([
|
102 |
+
Resize((448, 448), interpolation=Image.Resampling.BICUBIC),
|
103 |
CenterCrop((448, 448)),
|
104 |
ToTensor()
|
105 |
])
|