changed fin spans
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ with demo:
|
|
72 |
b4.click(ner, inputs=text, outputs=replaced_spans)
|
73 |
|
74 |
b5 = gr.Button("Extract Financial Sentiment")
|
75 |
-
|
76 |
b5.click(fin_ext, inputs=text, outputs=fin_spans)
|
77 |
|
78 |
demo.launch(share=True)
|
|
|
72 |
b4.click(ner, inputs=text, outputs=replaced_spans)
|
73 |
|
74 |
b5 = gr.Button("Extract Financial Sentiment")
|
75 |
+
fin_spans = gr.HighlightedText()
|
76 |
b5.click(fin_ext, inputs=text, outputs=fin_spans)
|
77 |
|
78 |
demo.launch(share=True)
|