joheras commited on
Commit
114644e
·
1 Parent(s): fb7e6f8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def detect_issue(file):
11
  preds = model.predict(df)
12
  result = []
13
  for i,pred in enumerate(preds):
14
- result.append(['Sample ' + str(i+1), np.argmax(pred),pred[np.argmax(pred)]]
15
  return pd.DataFrame(result,header=['Sample','class','confidence'])
16
 
17
 
 
11
  preds = model.predict(df)
12
  result = []
13
  for i,pred in enumerate(preds):
14
+ result.append(['Sample ' + str(i+1), np.argmax(pred),pred[np.argmax(pred)]])
15
  return pd.DataFrame(result,header=['Sample','class','confidence'])
16
 
17