Vicky000 commited on
Commit
a6ee139
1 Parent(s): 44dadb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ def predict(img):
14
  # st.write(learn_inf.predict(img))
15
 
16
  f"""
17
- ## This **{'is 布偶貓' if pred == ' 布偶貓' else 'is 緬因貓' if pred == '緬因貓' else 'is 銀漸層英短'}**.
18
- ### Prediction result: {pred}
19
  ### Probability of {pred}: {probs[key].item()*100: .2f}%
20
  """
21
 
 
14
  # st.write(learn_inf.predict(img))
15
 
16
  f"""
17
+ ## This **{'is 布偶貓' if pred == '布偶貓 ' else 'is 緬因貓' if pred == '緬因貓' else 'is 銀漸層英短'}**.
18
+ ### Prediction result : {pred}
19
  ### Probability of {pred}: {probs[key].item()*100: .2f}%
20
  """
21