RamAnanth1 commited on
Commit
cddc0f3
1 Parent(s): 7ac37fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ model = AutoModelForTokenClassification.from_pretrained("d4data/biomedical-ner-a
19
 
20
  biomed_ner_pipe = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple") # pass device=0 if using gpu
21
 
22
- def parse_ber(text):
23
  raw = biomed_ner_pipe(text)
24
  ner_content = {
25
  "text": text,
 
19
 
20
  biomed_ner_pipe = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple") # pass device=0 if using gpu
21
 
22
+ def parse_ner(text):
23
  raw = biomed_ner_pipe(text)
24
  ner_content = {
25
  "text": text,