Spaces:
Build error
Build error
nick-leland
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -431,7 +431,13 @@ def transform_image(image, func_choice, randomization_check, radius, center_x, c
|
|
431 |
result_bias_final = clean_output(result_bias)
|
432 |
result_fresh_final = clean_output(result_fresh)
|
433 |
|
434 |
-
result_localization =
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
|
436 |
YOLO_image = predict_image(transformed, model_bulge, 0.5, 0.5)
|
437 |
YOLO_image1 = predict_image(transformed, modelv8n, 0.5, 0.5)
|
|
|
431 |
result_bias_final = clean_output(result_bias)
|
432 |
result_fresh_final = clean_output(result_fresh)
|
433 |
|
434 |
+
result_localization = model_bulge.predict(transformed, save=True)
|
435 |
+
print(result_localization, "bulge")
|
436 |
+
result_localization1 = modelv8n.predict(transformed, save=True)
|
437 |
+
print(result_localization1, "modelv8n")
|
438 |
+
result_localization2 = modelv8x.predict(transformed, save=True)
|
439 |
+
print(result_localization2, "modelv8x")
|
440 |
+
|
441 |
|
442 |
YOLO_image = predict_image(transformed, model_bulge, 0.5, 0.5)
|
443 |
YOLO_image1 = predict_image(transformed, modelv8n, 0.5, 0.5)
|