Spaces:
Running
Running
pragnakalp
commited on
Commit
•
6d77aab
1
Parent(s):
371ed07
update UI
Browse files
app.py
CHANGED
@@ -130,12 +130,12 @@ def save_data_and_sendmail(article,output):
|
|
130 |
return "Error while sending mail" + str(e)
|
131 |
|
132 |
with gr.Blocks(css = ".gradio-container {background-color: lightgray}") as demo:
|
133 |
-
gr.Markdown("<h1 style='text-align: center
|
134 |
+ "Named Entity Recognition Using BERT"
|
135 |
+ "</h1>")
|
136 |
with gr.Row():
|
137 |
with gr.Column():
|
138 |
-
input=gr.Textbox(lines=5, value=input_value, label="Input Text"
|
139 |
sub_btn = gr.Button("Submit")
|
140 |
output = [gr.Dataframe(row_count = (3, "dynamic"), col_count=(2, "fixed"), label="Here is the Result", headers=["Entities Found","Entity Types"])]
|
141 |
gr.Markdown(
|
@@ -144,8 +144,7 @@ with gr.Blocks(css = ".gradio-container {background-color: lightgray}") as demo:
|
|
144 |
For all your Named Entity Recognition related requirements, we are here to help you.<br />
|
145 |
Email us your requirement at <a href="mailto:letstalk@pragnakalp.com"> letstalk@pragnakalp.com </a>.
|
146 |
And don't forget to check out more interesting <a href="https://www.pragnakalp.com/services/natural-language-processing-services/">NLP services</a> we are offering.</ br>
|
147 |
-
<p style='text-align: center;><b>Developed by</b> : <a href="https://www.pragnakalp.com" target="_blank">Pragnakalp Techlabs </a>
|
148 |
-
|
149 |
""")
|
150 |
|
151 |
event = sub_btn.click(generate_emotion, inputs=input, outputs=output)
|
|
|
130 |
return "Error while sending mail" + str(e)
|
131 |
|
132 |
with gr.Blocks(css = ".gradio-container {background-color: lightgray}") as demo:
|
133 |
+
gr.Markdown("<h1 style='text-align: center;>"
|
134 |
+ "Named Entity Recognition Using BERT"
|
135 |
+ "</h1>")
|
136 |
with gr.Row():
|
137 |
with gr.Column():
|
138 |
+
input=gr.Textbox(lines=5, value=input_value, label="Input Text")
|
139 |
sub_btn = gr.Button("Submit")
|
140 |
output = [gr.Dataframe(row_count = (3, "dynamic"), col_count=(2, "fixed"), label="Here is the Result", headers=["Entities Found","Entity Types"])]
|
141 |
gr.Markdown(
|
|
|
144 |
For all your Named Entity Recognition related requirements, we are here to help you.<br />
|
145 |
Email us your requirement at <a href="mailto:letstalk@pragnakalp.com"> letstalk@pragnakalp.com </a>.
|
146 |
And don't forget to check out more interesting <a href="https://www.pragnakalp.com/services/natural-language-processing-services/">NLP services</a> we are offering.</ br>
|
147 |
+
<p> style='text-align: center;><b>Developed by</b> : <a href="https://www.pragnakalp.com" target="_blank">Pragnakalp Techlabs </a> </p>
|
|
|
148 |
""")
|
149 |
|
150 |
event = sub_btn.click(generate_emotion, inputs=input, outputs=output)
|