Shredder commited on
Commit
f06da91
1 Parent(s): 844ab45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,8 +34,8 @@ with demo:
34
  b1.click(mainFun, inputs=[selected_ques,txt_file], outputs=[text,answer,summarize])
35
 
36
  b2=gr.Button("Get NER")
37
- label_ner = gr.Label()
38
- b1.click(fin_ner,inputs=answer_main,outputs=label_ner)
39
 
40
  b3=gr.Button("Get CLAIM")
41
  label_claim = gr.Label()
 
34
  b1.click(mainFun, inputs=[selected_ques,txt_file], outputs=[text,answer,summarize])
35
 
36
  b2=gr.Button("Get NER")
37
+ label_ner = gr.HighlightedText()
38
+ b2.click(fin_ner,inputs=answer_main,outputs=label_ner)
39
 
40
  b3=gr.Button("Get CLAIM")
41
  label_claim = gr.Label()