Update README.md
Browse files
README.md
CHANGED
@@ -59,6 +59,8 @@ model = AutoModel.from_pretrained(
|
|
59 |
"cmarkea/dit-base-layout-detection"
|
60 |
)
|
61 |
|
|
|
|
|
62 |
with torch.inference_mode():
|
63 |
input_ids = img_proc(img, return_tensors='pt')
|
64 |
output = model(**input_ids)
|
|
|
59 |
"cmarkea/dit-base-layout-detection"
|
60 |
)
|
61 |
|
62 |
+
img: PIL.Image
|
63 |
+
|
64 |
with torch.inference_mode():
|
65 |
input_ids = img_proc(img, return_tensors='pt')
|
66 |
output = model(**input_ids)
|