pragnakalp commited on
Commit
5f72f45
1 Parent(s): 73d2ad5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ def generate_ner(article):
84
  text += article
85
  # print(">>>>>>>>>>>",bert_ner_model,"<<<<<<<<<<<<<<<<<<")
86
  # model_ner = Ner(bert_ner_model)
87
- model_ner = Ner("pytorch_model.bin")
88
 
89
  output = model_ner.predict(text)
90
  print(output)
 
84
  text += article
85
  # print(">>>>>>>>>>>",bert_ner_model,"<<<<<<<<<<<<<<<<<<")
86
  # model_ner = Ner(bert_ner_model)
87
+ model_ner = Ner()
88
 
89
  output = model_ner.predict(text)
90
  print(output)