Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -574,10 +574,10 @@ def load_financial_models():
|
|
| 574 |
|
| 575 |
# Load Financial NER model and tokenizer explicitly
|
| 576 |
ner_tokenizer = AutoTokenizer.from_pretrained(
|
| 577 |
-
"
|
| 578 |
)
|
| 579 |
ner_model = AutoModelForTokenClassification.from_pretrained(
|
| 580 |
-
"
|
| 581 |
)
|
| 582 |
|
| 583 |
# Then create pipeline using objects
|
|
|
|
| 574 |
|
| 575 |
# Load Financial NER model and tokenizer explicitly
|
| 576 |
ner_tokenizer = AutoTokenizer.from_pretrained(
|
| 577 |
+
"Jean-Baptiste/roberta-large-ner-english", cache_dir=cache_dir
|
| 578 |
)
|
| 579 |
ner_model = AutoModelForTokenClassification.from_pretrained(
|
| 580 |
+
"Jean-Baptiste/roberta-large-ner-english", cache_dir=cache_dir
|
| 581 |
)
|
| 582 |
|
| 583 |
# Then create pipeline using objects
|