Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ class Config:
|
|
9 |
MAX_LEN = 512
|
10 |
TOKENIZER = BertTokenizer.from_pretrained(TOKENIZER_PATH)
|
11 |
|
12 |
-
# FinancialBERT model class
|
13 |
class FinancialBERT(torch.nn.Module):
|
14 |
def __init__(self):
|
15 |
super(FinancialBERT, self).__init__()
|
|
|
9 |
MAX_LEN = 512
|
10 |
TOKENIZER = BertTokenizer.from_pretrained(TOKENIZER_PATH)
|
11 |
|
|
|
12 |
class FinancialBERT(torch.nn.Module):
|
13 |
def __init__(self):
|
14 |
super(FinancialBERT, self).__init__()
|