jbprincipe1 commited on
Commit
82c3d6f
·
verified ·
1 Parent(s): 4a54744

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def predict_pose(frame):
9
  results = model.predict(frame, imgsz=480, conf=0.5, iou=0.5)[0]
10
 
11
  # Draw results on frame
12
- annotated_frame = results.plot(labels=False) # YOLOv8 handles drawing
13
  return annotated_frame
14
 
15
  # Set up Gradio interface
 
9
  results = model.predict(frame, imgsz=480, conf=0.5, iou=0.5)[0]
10
 
11
  # Draw results on frame
12
+ annotated_frame = results.plot(labels=False, boxes=False) # YOLOv8 handles drawing
13
  return annotated_frame
14
 
15
  # Set up Gradio interface