Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,6 @@ def predict(img):
|
|
15 |
# st.write(learn_inf.predict(img))
|
16 |
|
17 |
f"""
|
18 |
-
## This **{'is ' if pred == 'mi' else 'is not'}** an MI (heart attack).
|
19 |
### Rediction result: {pred}
|
20 |
### Probability of {pred}: {probs[key].item()*100: .2f}%
|
21 |
"""
|
|
|
15 |
# st.write(learn_inf.predict(img))
|
16 |
|
17 |
f"""
|
|
|
18 |
### Rediction result: {pred}
|
19 |
### Probability of {pred}: {probs[key].item()*100: .2f}%
|
20 |
"""
|