Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def preprocess_text(text):
|
|
50 |
return remove_colored_pips(text)
|
51 |
|
52 |
def categorize(Card):
|
53 |
-
text = preprocess_text(
|
54 |
prediction = predict(text)
|
55 |
print(prediction)
|
56 |
return format_output(prediction)
|
|
|
50 |
return remove_colored_pips(text)
|
51 |
|
52 |
def categorize(Card):
|
53 |
+
text = preprocess_text(Card)
|
54 |
prediction = predict(text)
|
55 |
print(prediction)
|
56 |
return format_output(prediction)
|