Senayfre commited on
Commit
d69c493
1 Parent(s): 5036e32

last commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,5 +82,5 @@ if uploaded_file is not None:
82
  image = PIL.Image.open(uploaded_file)
83
  img = np.array(image)
84
  result = m.predict(img)
85
- st.write(f"I think this has {result[0][0][0]}(confidence: {round(result[0][1][0],2)})")
86
  st.image(image, caption='Uploaded Image.', use_column_width=True)
 
82
  image = PIL.Image.open(uploaded_file)
83
  img = np.array(image)
84
  result = m.predict(img)
85
+ st.write(f"I think this has **{result[0][0][0]}**(confidence: **{round(result[0][1][0],2)*100}%**)")
86
  st.image(image, caption='Uploaded Image.', use_column_width=True)