pragnakalp commited on
Commit
1635b9b
1 Parent(s): 156b1d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -130,7 +130,7 @@ def save_data_and_sendmail(article,output):
130
  return "Error while sending mail" + str(e)
131
 
132
  input=gr.Textbox(lines=5, value=input_value, label="Input Text")
133
- output = gr.Dataframe(row_count = (2, "dynamic"), col_count=(2, "fixed"), headers=["Entities Found","Entity Types"])
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/>")
136
  # with gr.Row():
@@ -156,7 +156,7 @@ demo = gr.Interface(
156
  output,
157
  title="Entity Recognition For Input Text",
158
  description="Feel free to give your feedback",
159
- css=".gradio-container {background-color: lightgray} #inp_div {background-color: [#7](https://www1.example.com/issues/7)FB3D5;",
160
  article="""
161
  <p style='text-align: center;'>Feel free to give us your <a href="https://www.pragnakalp.com/contact/"> feedback </a> on this NER demo.
162
  For all your Named Entity Recognition related requirements, we are here to help you.<br />
 
130
  return "Error while sending mail" + str(e)
131
 
132
  input=gr.Textbox(lines=5, 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/>")
136
  # with gr.Row():
 
156
  output,
157
  title="Entity Recognition For Input Text",
158
  description="Feel free to give your feedback",
159
+ css=".gradio-container {background-color: lightgray}",
160
  article="""
161
  <p style='text-align: center;'>Feel free to give us your <a href="https://www.pragnakalp.com/contact/"> feedback </a> on this NER demo.
162
  For all your Named Entity Recognition related requirements, we are here to help you.<br />