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