themanas021 commited on
Commit
fc9a051
1 Parent(s): e9b1ba0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
10
  bert_model = BertModel.from_pretrained('bert-base-uncased')
11
 
12
  # Load the trained Logistic Regression classifier
13
- with open('bert_cased_model.pkl', 'rb') as model_file:
14
  classifier = pickle.load(model_file)
15
 
16
  # Define function to preprocess and classify text
 
10
  bert_model = BertModel.from_pretrained('bert-base-uncased')
11
 
12
  # Load the trained Logistic Regression classifier
13
+ with open('bert_uncased.pkl', 'rb') as model_file:
14
  classifier = pickle.load(model_file)
15
 
16
  # Define function to preprocess and classify text