Update app.py
Browse files
app.py
CHANGED
@@ -90,9 +90,9 @@ def processar_imagem_de_entrada_wrapper(img, modelo):
|
|
90 |
"""
|
91 |
percentage_of_vessels = np.sum(img_out) / (img_out.shape[0] * img_out.shape[1])
|
92 |
if percentage_of_vessels > 0.5:
|
93 |
-
return Sim
|
94 |
else:
|
95 |
-
return Não
|
96 |
|
97 |
has_disease = has_disease(img_out)
|
98 |
|
|
|
90 |
"""
|
91 |
percentage_of_vessels = np.sum(img_out) / (img_out.shape[0] * img_out.shape[1])
|
92 |
if percentage_of_vessels > 0.5:
|
93 |
+
return "Sim"
|
94 |
else:
|
95 |
+
return "Não"
|
96 |
|
97 |
has_disease = has_disease(img_out)
|
98 |
|