Spaces:
Running
Running
Commit ·
408b42b
1
Parent(s): 1447535
Update app.py
Browse files
app.py
CHANGED
|
@@ -129,7 +129,7 @@ def save_data_and_sendmail(article,output):
|
|
| 129 |
except Exception as e:
|
| 130 |
return "Error while sending mail" + str(e)
|
| 131 |
|
| 132 |
-
input=gr.Textbox(lines=
|
| 133 |
output = gr.Dataframe(row_count = (2, "dynamic"), col_count=(2, "fixed"), headers=["Entities Found","Entity Types"], lable="Here is the result")
|
| 134 |
# with gr.Blocks(css=".gradio-container {background-color: lightgray}") as demo:
|
| 135 |
# gr.Markdown("<h1 style='text-align: center;'>"+ "Named Entity Recognition Using BERT" + "</h1><br/><br/>")
|
|
|
|
| 129 |
except Exception as e:
|
| 130 |
return "Error while sending mail" + str(e)
|
| 131 |
|
| 132 |
+
input=gr.Textbox(lines=3, value=input_value, label="Input Text")
|
| 133 |
output = gr.Dataframe(row_count = (2, "dynamic"), col_count=(2, "fixed"), headers=["Entities Found","Entity Types"], lable="Here is the result")
|
| 134 |
# with gr.Blocks(css=".gradio-container {background-color: lightgray}") as demo:
|
| 135 |
# gr.Markdown("<h1 style='text-align: center;'>"+ "Named Entity Recognition Using BERT" + "</h1><br/><br/>")
|