PPKKKKK commited on
Commit
f9277dc
1 Parent(s): e2978e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def predict(img):
14
  # st.write(learn_inf.predict(img))
15
 
16
  f"""
17
- ## This **{'is ' if pred == {pred} else 'is not' {pred}}** an MI (heart attack).
18
  ### Rediction result: {pred}
19
  ### Probability of {pred}: {probs[key].item()*100: .2f}%
20
  """
 
14
  # st.write(learn_inf.predict(img))
15
 
16
  f"""
17
+ ## This **{'is ' if pred else 'is not' }** a cat of type {cat_type}.
18
  ### Rediction result: {pred}
19
  ### Probability of {pred}: {probs[key].item()*100: .2f}%
20
  """