Amit Kumar commited on
Commit
4a542e2
·
1 Parent(s): cfde818

update model loading path

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ class_names = ["Positive", "Negative",]
11
 
12
  ### 2. Load the model ###
13
 
14
- model = torch.load(f="bert_sentiment_classifier/BERT_sentiment_analysis.pth",
15
  map_location=torch.device("cpu")) # load to CPU)
16
 
17
  ### 3. Predict function ###
 
11
 
12
  ### 2. Load the model ###
13
 
14
+ model = torch.load(f="BERT_sentiment_analysis.pth",
15
  map_location=torch.device("cpu")) # load to CPU)
16
 
17
  ### 3. Predict function ###