Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def predict_ensemble(text):
|
|
63 |
cleaned = clean_text(text)
|
64 |
|
65 |
# Check if cleaned text is too short
|
66 |
-
if len(cleaned.strip())
|
67 |
return "Input too short to analyze."
|
68 |
|
69 |
# TF-IDF-based predictions
|
|
|
63 |
cleaned = clean_text(text)
|
64 |
|
65 |
# Check if cleaned text is too short
|
66 |
+
if len(cleaned.strip()) <= 10:
|
67 |
return "Input too short to analyze."
|
68 |
|
69 |
# TF-IDF-based predictions
|