Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ group_dict = {
|
|
39 |
|
40 |
# Define prediction function
|
41 |
def predict(text):
|
42 |
-
preds = model(
|
43 |
return group_dict[preds]
|
44 |
|
45 |
# App
|
|
|
39 |
|
40 |
# Define prediction function
|
41 |
def predict(text):
|
42 |
+
preds = model(text)
|
43 |
return group_dict[preds]
|
44 |
|
45 |
# App
|