cheesecz commited on
Commit
16ca667
·
verified ·
1 Parent(s): fc43adb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -38,8 +38,7 @@ def predict_formality():
38
 
39
  return jsonify({
40
  "text": text,
41
- "formal_percent": formal_percent,
42
- "informal_percent": informal_percent
43
  })
44
 
45
  if __name__ == "__main__":
 
38
 
39
  return jsonify({
40
  "text": text,
41
+ "classification": classification
 
42
  })
43
 
44
  if __name__ == "__main__":