Update app.py
Browse files
app.py
CHANGED
|
@@ -1219,6 +1219,9 @@ def smart_goods_match(declared_word, det_names):
|
|
| 1219 |
return True
|
| 1220 |
|
| 1221 |
return False
|
|
|
|
|
|
|
|
|
|
| 1222 |
"""⚡ تصنيف سريع بـ YOLO11x-cls فقط (3-8 ثواني)"""
|
| 1223 |
if img is None:
|
| 1224 |
return ("<div style='text-align:center;padding:60px;color:#999;'>"
|
|
|
|
| 1219 |
return True
|
| 1220 |
|
| 1221 |
return False
|
| 1222 |
+
|
| 1223 |
+
|
| 1224 |
+
def yolo11_fast_classify(img, declared_text):
|
| 1225 |
"""⚡ تصنيف سريع بـ YOLO11x-cls فقط (3-8 ثواني)"""
|
| 1226 |
if img is None:
|
| 1227 |
return ("<div style='text-align:center;padding:60px;color:#999;'>"
|