Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,7 @@ def predict_formality():
|
|
38 |
|
39 |
return jsonify({
|
40 |
"text": text,
|
41 |
-
"
|
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__":
|