Fixed typo
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def fin_ner(text):
|
|
38 |
#api = gr.Interface.load("dslim/bert-base-NER", src='models')
|
39 |
spans = ner_pipeline(text)
|
40 |
print (spans)
|
41 |
-
print ("spans2)
|
42 |
#replaced_spans = [(key, None) if value=='No Disease' else (key, value) for (key, value) in spans]
|
43 |
return spans
|
44 |
|
|
|
38 |
#api = gr.Interface.load("dslim/bert-base-NER", src='models')
|
39 |
spans = ner_pipeline(text)
|
40 |
print (spans)
|
41 |
+
print ("spans2")
|
42 |
#replaced_spans = [(key, None) if value=='No Disease' else (key, value) for (key, value) in spans]
|
43 |
return spans
|
44 |
|