nppmatt commited on
Commit
4b5fd92
·
1 Parent(s): a01490b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -128,6 +128,10 @@ def inference():
128
 
129
  prediction, targets = inference()
130
  prediction = np.array(prediction) >= 0.5
 
 
 
 
131
  targets = np.argmax(targets, axis=1)
132
  prediction = np.argmax(prediction, axis=1)
133
  accuracy = metrics.accuracy_score(targets, prediction)
 
128
 
129
  prediction, targets = inference()
130
  prediction = np.array(prediction) >= 0.5
131
+
132
+ st.write(prediction)
133
+ st.write(targets)
134
+
135
  targets = np.argmax(targets, axis=1)
136
  prediction = np.argmax(prediction, axis=1)
137
  accuracy = metrics.accuracy_score(targets, prediction)