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