Reacher commited on
Commit
edeab1e
·
1 Parent(s): 7881e86
Files changed (1) hide show
  1. app.py +2 -2
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()