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