Samanta Das commited on
Commit
add3d03
·
verified ·
1 Parent(s): a07e44f

Update yolo.py

Browse files
Files changed (1) hide show
  1. yolo.py +1 -1
yolo.py CHANGED
@@ -124,7 +124,7 @@ class FractureDetector:
124
 
125
  def detect_fractures_in_image(image):
126
  """Function to handle the detection and return results."""
127
- model_path = 'yolov8n_custom.pkl' # Model path on Hugging Face Spaces
128
  output_folder = '/app/output_images' # Output folder structure
129
  detector = FractureDetector(model_path, output_folder)
130
  results = detector.detect_fractures(image)
 
124
 
125
  def detect_fractures_in_image(image):
126
  """Function to handle the detection and return results."""
127
+ model_path = 'yolov8n_custom_exported.pt' # Model path on Hugging Face Spaces
128
  output_folder = '/app/output_images' # Output folder structure
129
  detector = FractureDetector(model_path, output_folder)
130
  results = detector.detect_fractures(image)