Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ iface = gr.Interface(
|
|
55 |
fn = load,
|
56 |
inputs = [gr.inputs.Textbox(lines=10, default="The coronavirus disease 2019 (COVID-19) pandemic is the result of widespread infection with severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2).", label="Text to Run through Entity Recognition"), gr.inputs.Textbox(lines=3, default= "Coronavirus, coronavirus, COVID-19, SARS-CoV-2, SARS‐CoV‐2", label="Enter entity references"), gr.inputs.Textbox(lines=1, default="COVID", label="Enter entity label"), gr.inputs.Textbox(lines=10, default="The tissue distribution of the virus-targeted receptor protein, angiotensin converting enzyme II (ACE2), determines which organs will be attacked by SARS‐CoV‐2.", label="Enter new sentence containing named entity")],
|
57 |
outputs = [gr.outputs.Textbox(type="str", label="Entities recognized before"),
|
58 |
-
gr.outputs.Textbox(type="str", label="Entites recognized after"),
|
59 |
gr.outputs.Textbox(type="str", label="Count of entities captured for new label")],
|
60 |
theme = "dark"
|
61 |
)
|
|
|
55 |
fn = load,
|
56 |
inputs = [gr.inputs.Textbox(lines=10, default="The coronavirus disease 2019 (COVID-19) pandemic is the result of widespread infection with severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2).", label="Text to Run through Entity Recognition"), gr.inputs.Textbox(lines=3, default= "Coronavirus, coronavirus, COVID-19, SARS-CoV-2, SARS‐CoV‐2", label="Enter entity references"), gr.inputs.Textbox(lines=1, default="COVID", label="Enter entity label"), gr.inputs.Textbox(lines=10, default="The tissue distribution of the virus-targeted receptor protein, angiotensin converting enzyme II (ACE2), determines which organs will be attacked by SARS‐CoV‐2.", label="Enter new sentence containing named entity")],
|
57 |
outputs = [gr.outputs.Textbox(type="str", label="Entities recognized before"),
|
58 |
+
gr.outputs.Textbox(type="str", label="Entites recognized after - on new text"),
|
59 |
gr.outputs.Textbox(type="str", label="Count of entities captured for new label")],
|
60 |
theme = "dark"
|
61 |
)
|