JainilP30 commited on
Commit
b5dfda3
·
verified ·
1 Parent(s): 68ddad0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()) == 10:
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