kitkeat commited on
Commit
d0efcb7
1 Parent(s): c0bdfaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -244,8 +244,8 @@ if text:
244
  discourse_text = text
245
  test_path = pd.DataFrame({'discourse_type':[discourse_type],'discourse_text':[discourse_text]})
246
 
247
- # prediction = predict(DistilBert_Text_Classifier,distilbert_config,test_path)
248
- prediction = int(discourse_text)
249
  if prediction == 0:
250
  out = 'Adequate'
251
  elif prediction == 1:
244
  discourse_text = text
245
  test_path = pd.DataFrame({'discourse_type':[discourse_type],'discourse_text':[discourse_text]})
246
 
247
+ prediction = predict(DistilBert_Text_Classifier,distilbert_config,test_path)
248
+ #prediction = int(discourse_text)
249
  if prediction == 0:
250
  out = 'Adequate'
251
  elif prediction == 1: