rushidarge commited on
Commit
90b4ba9
·
1 Parent(s): a83a532

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -40,16 +40,11 @@ else:
40
  predictions, time_take = import_and_predict(image, model)
41
  st.write("Time taken to predict is ", time_take, "second")
42
  st.write(predictions)
43
- print(predictions)
44
 
45
  print(np.argmax(predictions))
46
  st.write(np.argmax(predictions))
47
-
48
- #st.write('each member of pred')
49
- #st.write(predictions.shape)
50
- #st.write(predictions[0])
51
- #st.write(predictions[1])
52
-
53
  if predictions[0][0] < 0.5:
54
  st.write("This is SFW image :sunglasses:")
55
  else:
 
40
  predictions, time_take = import_and_predict(image, model)
41
  st.write("Time taken to predict is ", time_take, "second")
42
  st.write(predictions)
43
+ print(predictions.shape)
44
 
45
  print(np.argmax(predictions))
46
  st.write(np.argmax(predictions))
47
+
 
 
 
 
 
48
  if predictions[0][0] < 0.5:
49
  st.write("This is SFW image :sunglasses:")
50
  else: