Spaces:
Running
Running
Commit ·
ce84bdc
1
Parent(s): 07775da
Update app.py
Browse files
app.py
CHANGED
|
@@ -141,8 +141,8 @@ def save_data_and_sendmail(article,output):
|
|
| 141 |
except Exception as e:
|
| 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():
|
|
|
|
| 141 |
except Exception as e:
|
| 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():
|