Stevenqaq commited on
Commit
3a223dc
·
verified ·
1 Parent(s): fc607aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ def predict(img):
11
  st.image(img, caption="Your image", use_column_width=True)
12
  pred, key, probs = learn_inf.predict(img)
13
  # st.write(learn_inf.predict(img))
14
- f"""
15
-
16
  ### Rediction result: {pred}
17
  ### Probability of {pred}: {probs[key].item()*100: .2f}%
18
  """
 
11
  st.image(img, caption="Your image", use_column_width=True)
12
  pred, key, probs = learn_inf.predict(img)
13
  # st.write(learn_inf.predict(img))
14
+
15
+ f"""
16
  ### Rediction result: {pred}
17
  ### Probability of {pred}: {probs[key].item()*100: .2f}%
18
  """