Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def sahi_yolov5_inference(
|
|
90 |
|
91 |
model = YOLO('SerdarHelli/deprem_satellite_labeled_yolov8')
|
92 |
result = model.predict(image, imgsz=image_size)[0]
|
93 |
-
render = render_result(model=model, image=image, result=result
|
94 |
return render
|
95 |
|
96 |
elif model_type == "YOLOv7":
|
|
|
90 |
|
91 |
model = YOLO('SerdarHelli/deprem_satellite_labeled_yolov8')
|
92 |
result = model.predict(image, imgsz=image_size)[0]
|
93 |
+
render = render_result(model=model, image=image, result=result)
|
94 |
return render
|
95 |
|
96 |
elif model_type == "YOLOv7":
|