Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,6 @@ iface = gr.Interface(
|
|
53 |
title = "Customized Named Entity Recognition",
|
54 |
description = description,
|
55 |
fn = load,
|
56 |
-
interpretation = "shap",
|
57 |
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")],
|
58 |
outputs = [gr.outputs.Textbox(type="str", label="Entities recognized before"),
|
59 |
gr.outputs.Textbox(type="str", label="Entites recognized after"),
|
|
|
53 |
title = "Customized Named Entity Recognition",
|
54 |
description = description,
|
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"),
|