pragnakalp commited on
Commit
507bd78
·
1 Parent(s): 13837fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -137,7 +137,7 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray} #btn {backgr
137
  gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>"
138
  + "BERT based QnA"
139
  + "</h1>")
140
- gr.Markdown("Question and Answering system from given paragraph is a very basic capability of machines in field of Natural Language Processing. Test our BERT based QnA with your own paragraphs and your own set of questions. Not only for English it is available for 7 other languages.")
141
 
142
  with gr.Row():
143
  with gr.Column():
@@ -156,7 +156,12 @@ with gr.Blocks(css=".gradio-container {background-color: lightgray} #btn {backgr
156
  a4=gr.Textbox(label="Answer 4")
157
  q5=gr.Textbox(label="Question 5")
158
  a5=gr.Textbox(label="Answer 5")
159
-
 
 
 
 
 
160
  input_radio.change(return_lan_para,input_radio,[input_text,q1,q2,q3,q4,q5,a1,a2,a3,a4,a5])
161
  sub_btn.click(generate_qna, inputs=[input_text,input_radio,q1,q2,q3,q4,q5], outputs=[a1,a2,a3,a4,a5])
162
 
 
137
  gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>"
138
  + "BERT based QnA"
139
  + "</h1>")
140
+ gr.Markdown("Question and Answering system from given paragraph is a very basic capability of machines in field of Natural Language Processing. Test our BERT based QnA with your own paragraphs and your own set of questions. Not only for English it is available for 12 other languages.")
141
 
142
  with gr.Row():
143
  with gr.Column():
 
156
  a4=gr.Textbox(label="Answer 4")
157
  q5=gr.Textbox(label="Question 5")
158
  a5=gr.Textbox(label="Answer 5")
159
+ gr.Markdown("""Feel free to give us your thoughts on this demo and please contact us at
160
+ <a href="mailto:[email protected]" target="_blank">[email protected].</a>
161
+ If you want to have your own QnA system in your own language we can help you to make it happen.
162
+ And don't forget to check out more interesting
163
+ <a href="https://www.pragnakalp.com/services/natural-language-processing-services/" target="_blank">NLP services</a> we are offering.
164
+ <p style='text-align: center;'>Developed by :<a href="https://www.pragnakalp.com" target="_blank"> Pragnakalp Techlabs</a></p>""")
165
  input_radio.change(return_lan_para,input_radio,[input_text,q1,q2,q3,q4,q5,a1,a2,a3,a4,a5])
166
  sub_btn.click(generate_qna, inputs=[input_text,input_radio,q1,q2,q3,q4,q5], outputs=[a1,a2,a3,a4,a5])
167