Update README.md
Browse filesswitch cat image to doc image in example code
README.md
CHANGED
|
@@ -47,7 +47,7 @@ import torch
|
|
| 47 |
from PIL import Image
|
| 48 |
import requests
|
| 49 |
|
| 50 |
-
url = "
|
| 51 |
image = Image.open(requests.get(url, stream=True).raw)
|
| 52 |
|
| 53 |
processor = AutoImageProcessor.from_pretrained("Aryn/deformable-detr-DocLayNet")
|
|
|
|
| 47 |
from PIL import Image
|
| 48 |
import requests
|
| 49 |
|
| 50 |
+
url = "https://huggingface.co/Aryn/deformable-detr-DocLayNet/resolve/main/examples/doclaynet_example_1.png"
|
| 51 |
image = Image.open(requests.get(url, stream=True).raw)
|
| 52 |
|
| 53 |
processor = AutoImageProcessor.from_pretrained("Aryn/deformable-detr-DocLayNet")
|