Spaces:
Sleeping
Sleeping
Commit
·
e9cfb73
1
Parent(s):
26cc54f
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def home():
|
|
21 |
@app.route('/classify', methods = ['POST'])
|
22 |
def classify():
|
23 |
text = request.form['comment']
|
24 |
-
print(
|
25 |
|
26 |
prediction = pipe(text)
|
27 |
labels = {"LABEL_0":"GULF", "LABEL_1":"LEVANT","LABEL_2":"EGYPT"}
|
|
|
21 |
@app.route('/classify', methods = ['POST'])
|
22 |
def classify():
|
23 |
text = request.form['comment']
|
24 |
+
print(text)
|
25 |
|
26 |
prediction = pipe(text)
|
27 |
labels = {"LABEL_0":"GULF", "LABEL_1":"LEVANT","LABEL_2":"EGYPT"}
|