fserfati13 commited on
Commit
a6b1837
1 Parent(s): 32ba95a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from text_preprocessing import preprocess_text
6
 
7
  # Load the fine-tuned BERT model
8
  model = RobertaClass()
9
- model.load_state_dict(torch.load('model.bin',
10
  map_location=torch.device('cpu')))
11
 
12
  # Load the tokenizer
 
6
 
7
  # Load the fine-tuned BERT model
8
  model = RobertaClass()
9
+ model.load_state_dict(torch.load('trained_model.bin',
10
  map_location=torch.device('cpu')))
11
 
12
  # Load the tokenizer