thak123 commited on
Commit
c31bef9
1 Parent(s): db2fdad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def sentence_prediction(sentence):
67
 
68
  # outputs, [] = engine.predict_fn(test_data_loader, MODEL, device)
69
 
70
- outputs = sentiment(input_text)
71
 
72
  print(outputs)
73
  return outputs #{"label":outputs[0]}
 
67
 
68
  # outputs, [] = engine.predict_fn(test_data_loader, MODEL, device)
69
 
70
+ outputs = sentiment(sentence)
71
 
72
  print(outputs)
73
  return outputs #{"label":outputs[0]}