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