Update app.py
Browse files
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 = '
|
| 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"))
|