gabrielmotablima
commited on
Commit
•
9d388f2
1
Parent(s):
fd2f9bd
Update README.md
Browse files
README.md
CHANGED
@@ -73,7 +73,7 @@ tokenizer = AutoTokenizer.from_pretrained("laicsiifes/swin-gportuguese-2")
|
|
73 |
image_processor = AutoImageProcessor.from_pretrained("laicsiifes/swin-gportuguese-2")
|
74 |
|
75 |
# preprocess an image
|
76 |
-
url = "http://images.cocodataset.org/
|
77 |
image = Image.open(requests.get(url, stream=True).raw)
|
78 |
pixel_values = image_processor(image, return_tensors="pt").pixel_values
|
79 |
|
@@ -92,7 +92,7 @@ plt.title(generated_text)
|
|
92 |
plt.show()
|
93 |
```
|
94 |
|
95 |
-
![image/png](https://cdn-uploads.huggingface.co/production/uploads/637a149c0dbdecf0b5bd6490/
|
96 |
|
97 |
## 📈 Results
|
98 |
|
|
|
73 |
image_processor = AutoImageProcessor.from_pretrained("laicsiifes/swin-gportuguese-2")
|
74 |
|
75 |
# preprocess an image
|
76 |
+
url = "http://images.cocodataset.org/val2014/COCO_val2014_000000458153.jpg"
|
77 |
image = Image.open(requests.get(url, stream=True).raw)
|
78 |
pixel_values = image_processor(image, return_tensors="pt").pixel_values
|
79 |
|
|
|
92 |
plt.show()
|
93 |
```
|
94 |
|
95 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/637a149c0dbdecf0b5bd6490/ih9NZRoAWfPXx2vXDgeSV.png)
|
96 |
|
97 |
## 📈 Results
|
98 |
|