Spaces:
Build error
Build error
kkhushisaid
commited on
Commit
•
b3738e8
1
Parent(s):
0e9c5aa
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,11 @@ from transformers import (
|
|
9 |
TrainingArguments,
|
10 |
HfArgumentParser,
|
11 |
)
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
from robust_deid.ner_datasets import DatasetCreator
|
14 |
from robust_deid.sequence_tagging import SequenceTagger
|
|
|
9 |
TrainingArguments,
|
10 |
HfArgumentParser,
|
11 |
)
|
12 |
+
try:
|
13 |
+
from pycorenlp import StanfordCoreNLP
|
14 |
+
print("pycorenlp imported successfully")
|
15 |
+
except ModuleNotFoundError as e:
|
16 |
+
print(f"Import failed: {e}")
|
17 |
|
18 |
from robust_deid.ner_datasets import DatasetCreator
|
19 |
from robust_deid.sequence_tagging import SequenceTagger
|