Senayfre commited on
Commit
5036e32
·
1 Parent(s): 0ce7075

last commit...hopefully

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -82,4 +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)})")
 
 
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)