Update app.py
Browse files
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="
|
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,
|