momo commited on
Commit
bb7d89b
·
1 Parent(s): 39c22ef
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -45,8 +45,10 @@ def predict(model_name, text):
45
  return_all_scores=True,
46
  function_to_apply='sigmoid'
47
  )
 
 
48
  for i in pipe(text)[0]:
49
- output = i + '\t'
50
 
51
  return output
52
 
 
45
  return_all_scores=True,
46
  function_to_apply='sigmoid'
47
  )
48
+ print(pipe(text)[0])
49
+
50
  for i in pipe(text)[0]:
51
+ output = pipe(text)[0][i] + '\t'
52
 
53
  return output
54