jaifar530 commited on
Commit
f2a6bd1
·
unverified ·
1 Parent(s): 9c88d2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -287,7 +287,8 @@ if press_me_button:
287
  vectorizer = pickle.load(file)
288
 
289
  # Transform the input
290
- user_input_transformed = vectorizer.transform(new_text)
 
291
 
292
  # Load the saved models and vectorizer
293
 
 
287
  vectorizer = pickle.load(file)
288
 
289
  # Transform the input
290
+
291
+ user_input_transformed = vectorizer.transform([new_text])
292
 
293
  # Load the saved models and vectorizer
294