Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ tokenizer = AutoTokenizer.from_pretrained("dmis-lab/biobert-large-cased-v1.1", t
|
|
7 |
model_checkpoint = BertForTokenClassification.from_pretrained("dexay/Ner2HgF", )
|
8 |
token_classifier = pipeline("token-classification", tokenizer = tokenizer,model=model_checkpoint, )
|
9 |
|
10 |
-
x = st.
|
11 |
|
12 |
if text:
|
13 |
out = token_classifier(x)
|
|
|
7 |
model_checkpoint = BertForTokenClassification.from_pretrained("dexay/Ner2HgF", )
|
8 |
token_classifier = pipeline("token-classification", tokenizer = tokenizer,model=model_checkpoint, )
|
9 |
|
10 |
+
x = st.text_area('enter text')
|
11 |
|
12 |
if text:
|
13 |
out = token_classifier(x)
|