Spaces:
Runtime error
Runtime error
ASL app
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def show_preds_image(image_path):
|
|
14 |
results = outputs[0].cpu().numpy()
|
15 |
for i, det in enumerate(results.boxes.xyxy):
|
16 |
cls = TargetMapper[results.boxes.cls[0]]
|
17 |
-
print(cls)
|
18 |
cv2.rectangle(
|
19 |
image,
|
20 |
(int(det[0]), int(det[1])),
|
@@ -41,4 +41,4 @@ interface_image = gr.Interface(
|
|
41 |
title="Arab Sign Language Detection app",
|
42 |
examples=path,
|
43 |
cache_examples=False,
|
44 |
-
).launch()
|
|
|
14 |
results = outputs[0].cpu().numpy()
|
15 |
for i, det in enumerate(results.boxes.xyxy):
|
16 |
cls = TargetMapper[results.boxes.cls[0]]
|
17 |
+
#print(cls)
|
18 |
cv2.rectangle(
|
19 |
image,
|
20 |
(int(det[0]), int(det[1])),
|
|
|
41 |
title="Arab Sign Language Detection app",
|
42 |
examples=path,
|
43 |
cache_examples=False,
|
44 |
+
).queue().launch()
|