Priyanhsu commited on
Commit
e5c4825
·
1 Parent(s): 40f4307

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def test_model(text):
50
  preprocessed_text = ' '.join(filtered_text)
51
 
52
  # Vectorize the preprocessed text
53
- vectorize_texts =vectorize_text(preprocessed_text)
54
 
55
  # Make prediction on the vectorized text
56
  prediction = model.predict(vectorize_texts)[0]
 
50
  preprocessed_text = ' '.join(filtered_text)
51
 
52
  # Vectorize the preprocessed text
53
+ vectorize_texts =vectorize_text([preprocessed_text])
54
 
55
  # Make prediction on the vectorized text
56
  prediction = model.predict(vectorize_texts)[0]