Update README.md
Browse files
README.md
CHANGED
|
@@ -13,8 +13,8 @@ from PIL import Image
|
|
| 13 |
from transformers import RTDetrForObjectDetection, RTDetrImageProcessor
|
| 14 |
|
| 15 |
# Load the model and processor
|
| 16 |
-
image_processor = RTDetrImageProcessor.from_pretrained("
|
| 17 |
-
model = RTDetrForObjectDetection.from_pretrained("
|
| 18 |
|
| 19 |
# Load an image
|
| 20 |
image = Image.open("your-image.png")
|
|
|
|
| 13 |
from transformers import RTDetrForObjectDetection, RTDetrImageProcessor
|
| 14 |
|
| 15 |
# Load the model and processor
|
| 16 |
+
image_processor = RTDetrImageProcessor.from_pretrained("HuggingPanda/docling-layout")
|
| 17 |
+
model = RTDetrForObjectDetection.from_pretrained("HuggingPanda/docling-layout")
|
| 18 |
|
| 19 |
# Load an image
|
| 20 |
image = Image.open("your-image.png")
|