ugh space error
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ with demo:
|
|
50 |
b3.click(text_to_sentiment, inputs=stext, outputs=label)
|
51 |
|
52 |
b4 = gr.Button("Extract Companies & Segments")
|
53 |
-
replaced_spans = gr.
|
54 |
b4.click(ner, inputs=text, outputs=replaced_spans)
|
55 |
|
56 |
demo.launch(share=True)
|
|
|
50 |
b3.click(text_to_sentiment, inputs=stext, outputs=label)
|
51 |
|
52 |
b4 = gr.Button("Extract Companies & Segments")
|
53 |
+
replaced_spans = gr.HighlightedText()
|
54 |
b4.click(ner, inputs=text, outputs=replaced_spans)
|
55 |
|
56 |
demo.launch(share=True)
|