Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def get_all_contours():
|
|
30 |
|
31 |
|
32 |
def find_best_matching_image(main_image):
|
33 |
-
main_contour = predict_image(main_image, './best.pt')
|
34 |
if main_contour is None:
|
35 |
raise ValueError("No valid contour found in the main image")
|
36 |
|
|
|
30 |
|
31 |
|
32 |
def find_best_matching_image(main_image):
|
33 |
+
main_contour = predict_image(main_image, './my_yolov8_model/best.pt')
|
34 |
if main_contour is None:
|
35 |
raise ValueError("No valid contour found in the main image")
|
36 |
|