Spaces:
Runtime error
Runtime error
autonomous019
commited on
Commit
•
10f177d
1
Parent(s):
3ce0ef7
cats.jpg
Browse files
app.py
CHANGED
@@ -20,9 +20,7 @@ feature_extractor = ViTFeatureExtractor()
|
|
20 |
# or, to load one that corresponds to a checkpoint on the hub:
|
21 |
#feature_extractor = ViTFeatureExtractor.from_pretrained("google/vit-base-patch16-224")
|
22 |
|
23 |
-
|
24 |
-
image =
|
25 |
-
image.save("cats.png")
|
26 |
-
image
|
27 |
|
28 |
|
|
|
20 |
# or, to load one that corresponds to a checkpoint on the hub:
|
21 |
#feature_extractor = ViTFeatureExtractor.from_pretrained("google/vit-base-patch16-224")
|
22 |
|
23 |
+
|
24 |
+
image = "cats.jpg"
|
|
|
|
|
25 |
|
26 |
|