omarelsayeed
commited on
Commit
•
74c842e
1
Parent(s):
a231a61
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
from huggingface_hub import snapshot_download
|
4 |
from PIL import Image
|
5 |
|
6 |
-
model_dir = snapshot_download("omarelsayeed/DETR-ARABIC-DOCUMENT-LAYOUT-ANALYSIS") + "/
|
7 |
model = RTDETR(model_dir)
|
8 |
|
9 |
|
|
|
3 |
from huggingface_hub import snapshot_download
|
4 |
from PIL import Image
|
5 |
|
6 |
+
model_dir = snapshot_download("omarelsayeed/DETR-ARABIC-DOCUMENT-LAYOUT-ANALYSIS") + "/rtdetr_1024_crops.pt"
|
7 |
model = RTDETR(model_dir)
|
8 |
|
9 |
|