drkareemkamal
commited on
Commit
•
b045362
1
Parent(s):
b566f65
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def predict(img) -> Tuple[Dict,float,float] :
|
|
57 |
pred_class = class_names[pred_img.argmax()]
|
58 |
print(f"Predicted macular diseases is: {pred_class} with probability: {pred_img.max():.2f}")
|
59 |
|
60 |
-
pred_probbb = pred_img.max()
|
61 |
|
62 |
|
63 |
end_time = timer()
|
|
|
57 |
pred_class = class_names[pred_img.argmax()]
|
58 |
print(f"Predicted macular diseases is: {pred_class} with probability: {pred_img.max():.2f}")
|
59 |
|
60 |
+
pred_probbb = pred_img.max() * 100 + "%"
|
61 |
|
62 |
|
63 |
end_time = timer()
|