Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from tensorflow.keras.preprocessing.sequence import pad_sequences
|
|
| 5 |
import os
|
| 6 |
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 |
|
|
|
|
| 5 |
import os
|
| 6 |
import torch
|
| 7 |
from transformers import BertConfig, BertForSequenceClassification, BertTokenizer
|
| 8 |
+
max_len = 60
|
| 9 |
# Define the directory where the model is saved
|
| 10 |
bert_out_address = 'model/'
|
| 11 |
|