skylord commited on
Commit
944b6d1
1 Parent(s): dff3e74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ def show_preds_image(image):
14
 
15
  image = cv2.imread(image_path)
16
  outputs = model.predict(source=image_path)
17
- #print("output:: ", outputs[0])
18
  results = outputs[0].boxes.xyxy.cpu().numpy()
19
  for det in results:
20
  x1, y1, x2, y2 = det[:4]
@@ -51,7 +51,7 @@ interface_image = gr.Interface(
51
  fn=show_preds_image,
52
  inputs=inputs_image,
53
  outputs=outputs_image,
54
- title="European ReWilding Project - Demo[Yolov8]",
55
  examples=[],
56
  cache_examples=False,
57
  )
 
14
 
15
  image = cv2.imread(image_path)
16
  outputs = model.predict(source=image_path)
17
+ print("output:: ", type(outputs[0]))
18
  results = outputs[0].boxes.xyxy.cpu().numpy()
19
  for det in results:
20
  x1, y1, x2, y2 = det[:4]
 
51
  fn=show_preds_image,
52
  inputs=inputs_image,
53
  outputs=outputs_image,
54
+ title="ReWilding Europe Project - Demo[Yolov8]",
55
  examples=[],
56
  cache_examples=False,
57
  )