Spaces:
Sleeping
Sleeping
ShakhzoDavronov
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -24,5 +24,5 @@ input_textbox=gr.Textbox(label='Type text here to get named entities',placeholde
|
|
24 |
output_textbox=gr.HighlightedText(label='Named entities')
|
25 |
samples=["Elon founded SpaceX.","The conference will be held in San Francisco next April.","Amazon announced its plans to open a new headquarters in Virginia, aiming to create over 25,000 jobs in the area by 2030."]
|
26 |
demo=gr.Interface(fn=ner, inputs=input_textbox, outputs=output_textbox,examples=samples)
|
27 |
-
demo.launch()
|
28 |
|
|
|
24 |
output_textbox=gr.HighlightedText(label='Named entities')
|
25 |
samples=["Elon founded SpaceX.","The conference will be held in San Francisco next April.","Amazon announced its plans to open a new headquarters in Virginia, aiming to create over 25,000 jobs in the area by 2030."]
|
26 |
demo=gr.Interface(fn=ner, inputs=input_textbox, outputs=output_textbox,examples=samples)
|
27 |
+
demo.launch(share=True)
|
28 |
|