Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def classify(rgb_image):
|
|
| 36 |
imgplot= imgplot.reshape(-1, 272*512*16)
|
| 37 |
prediction = cancer_model.predict(imgplot)
|
| 38 |
if prediction == 0:
|
| 39 |
-
x=
|
| 40 |
else:
|
| 41 |
x="Normal mole"
|
| 42 |
return x
|
|
|
|
| 36 |
imgplot= imgplot.reshape(-1, 272*512*16)
|
| 37 |
prediction = cancer_model.predict(imgplot)
|
| 38 |
if prediction == 0:
|
| 39 |
+
x="High Risk of being a Cancerous Mole"
|
| 40 |
else:
|
| 41 |
x="Normal mole"
|
| 42 |
return x
|