Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ url = 'https://www.transports.gouv.ci/sites/default/files/securite/103954442_360
|
|
8 |
image = Image.open(requests.get(url, stream=True).raw)
|
9 |
|
10 |
# from IPython.display import Image
|
11 |
-
|
12 |
feature_extractor = ViTFeatureExtractor.from_pretrained(
|
13 |
'google/vit-base-patch16-224')
|
14 |
model = ViTForImageClassification.from_pretrained(
|
|
|
8 |
image = Image.open(requests.get(url, stream=True).raw)
|
9 |
|
10 |
# from IPython.display import Image
|
11 |
+
image.show()
|
12 |
feature_extractor = ViTFeatureExtractor.from_pretrained(
|
13 |
'google/vit-base-patch16-224')
|
14 |
model = ViTForImageClassification.from_pretrained(
|