Spaces:
Running
Running
pragnakalp
commited on
Commit
•
40d385d
1
Parent(s):
ce84bdc
Update app.py
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ def save_data_and_sendmail(article,output):
|
|
142 |
return "Error while sending mail" + str(e)
|
143 |
|
144 |
input=gr.Textbox(lines=3, value=input_value, label="Input Text")
|
145 |
-
output = gr.Dataframe(row_count = (2, "dynamic"), col_count=(2, "fixed"), headers=["Entities Found","Entity Types"], lable="Here is the result")
|
146 |
# with gr.Blocks(css=".gradio-container {background-color: lightgray}") as demo:
|
147 |
# gr.Markdown("<h1 style='text-align: center;'>"+ "Named Entity Recognition Using BERT" + "</h1><br/><br/>")
|
148 |
# with gr.Row():
|
|
|
142 |
return "Error while sending mail" + str(e)
|
143 |
|
144 |
input=gr.Textbox(lines=3, value=input_value, label="Input Text")
|
145 |
+
output = [gr.Dataframe(row_count = (2, "dynamic"), col_count=(2, "fixed"), headers=["Entities Found","Entity Types"], lable="Here is the result")]
|
146 |
# with gr.Blocks(css=".gradio-container {background-color: lightgray}") as demo:
|
147 |
# gr.Markdown("<h1 style='text-align: center;'>"+ "Named Entity Recognition Using BERT" + "</h1><br/><br/>")
|
148 |
# with gr.Row():
|