MINHCT commited on
Commit
7e83a81
1 Parent(s): 3c7207a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,9 +85,9 @@ def process_api(text):
85
  # Seq_Predicted = Seq_model.predict(padded_sequence)
86
  # predicted_label_index = np.argmax(Seq_Predicted)
87
  return {
88
- 'Logistic_Predicted': categorize(int(Logistic_Predicted[0]))
89
  'SVM_Predicted': categorize(int(SVM_Predicted[0])),
90
- 'Article_Content': text,
91
  }
92
 
93
  # Using Model to handle and return Category Route
 
85
  # Seq_Predicted = Seq_model.predict(padded_sequence)
86
  # predicted_label_index = np.argmax(Seq_Predicted)
87
  return {
88
+ 'Logistic_Predicted': categorize(int(Logistic_Predicted[0])),
89
  'SVM_Predicted': categorize(int(SVM_Predicted[0])),
90
+ 'Article_Content': text
91
  }
92
 
93
  # Using Model to handle and return Category Route