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