dexay commited on
Commit
9f2aa13
·
1 Parent(s): 2725cc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.text('enter text')
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)