Update app.py
Browse files
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.
|
38 |
-
|
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()
|