rajistics commited on
Commit
e670d1c
·
1 Parent(s): 8d8a54a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def text_to_sentiment(text):
28
 
29
  def ner(text):
30
  api = gr.Interface.load("dslim/bert-base-NER", src='models')
31
- print (API)
32
  spans = api(text)
33
  print (spans)
34
  replaced_spans = [(key, None) if value=='No Disease' else (key, value) for (key, value) in spans]
 
28
 
29
  def ner(text):
30
  api = gr.Interface.load("dslim/bert-base-NER", src='models')
31
+ print (api)
32
  spans = api(text)
33
  print (spans)
34
  replaced_spans = [(key, None) if value=='No Disease' else (key, value) for (key, value) in spans]