tasmay commited on
Commit
e064d78
·
1 Parent(s): 03914c0

modified model

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,7 +23,8 @@ if file_name is not None:
23
  predictions = predict(file_name)
24
  col2.header("Prediction:")
25
  for p in predictions:
26
- st.write(p, ': ', round(predictions[p] * 100, 1))
 
27
  #col2.subheader(f"{ p['label'] }: { round(p['probs'] * 100, 1)}%")
28
  else:
29
  st.write('Please upload a file!')
 
23
  predictions = predict(file_name)
24
  col2.header("Prediction:")
25
  for p in predictions:
26
+ st.write(p, ': ', predictions[p])
27
+ print(predictions)
28
  #col2.subheader(f"{ p['label'] }: { round(p['probs'] * 100, 1)}%")
29
  else:
30
  st.write('Please upload a file!')