AshenR commited on
Commit
38be73f
·
verified ·
1 Parent(s): dc70149

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import torch
7
  from transformers import BertConfig, BertForSequenceClassification, BertTokenizer
8
 
9
  # Define the directory where the model is saved
10
- bert_out_address = '/model/'
11
 
12
  # Load the configuration file
13
  config = BertConfig.from_json_file(os.path.join(bert_out_address, "config.json"))
 
7
  from transformers import BertConfig, BertForSequenceClassification, BertTokenizer
8
 
9
  # Define the directory where the model is saved
10
+ bert_out_address = 'model/'
11
 
12
  # Load the configuration file
13
  config = BertConfig.from_json_file(os.path.join(bert_out_address, "config.json"))