muhammadsalmanalfaridzi commited on
Commit
21a3b22
·
verified ·
1 Parent(s): 25430ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def detect_objects(image):
33
  predictions = get_sliced_prediction(
34
  image_path=temp_file_path,
35
  model_path="path_to_your_model",
36
- model_type="yolov5", # Adjust based on your model
37
  slice_height=256,
38
  slice_width=256,
39
  overlap_height_ratio=0.1,
 
33
  predictions = get_sliced_prediction(
34
  image_path=temp_file_path,
35
  model_path="path_to_your_model",
36
+ model_type="yolov8", # Adjust based on your model
37
  slice_height=256,
38
  slice_width=256,
39
  overlap_height_ratio=0.1,