Update app.py
Browse files
app.py
CHANGED
|
@@ -322,7 +322,7 @@ with gr.Blocks(theme='shivi/calm_seafoam', title="📄 Insurance Policy AIdvisor
|
|
| 322 |
pdf_file.change(process_pdf_ocr, inputs=[pdf_file], outputs=[ocr_status])
|
| 323 |
|
| 324 |
gr.Examples(
|
| 325 |
-
examples=[["small-insudoc.pdf"],["Principal-Sample-Life-Insurance-Policy.pdf"]
|
| 326 |
inputs=[pdf_file],
|
| 327 |
label="Example PDFs"
|
| 328 |
)
|
|
@@ -337,15 +337,20 @@ with gr.Blocks(theme='shivi/calm_seafoam', title="📄 Insurance Policy AIdvisor
|
|
| 337 |
)
|
| 338 |
)
|
| 339 |
)
|
| 340 |
-
|
| 341 |
gr.Examples(
|
| 342 |
examples=[
|
| 343 |
-
"
|
| 344 |
-
"
|
| 345 |
-
"
|
| 346 |
-
"
|
| 347 |
-
"
|
| 348 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 349 |
],
|
| 350 |
inputs=chat.textbox
|
| 351 |
)
|
|
|
|
| 322 |
pdf_file.change(process_pdf_ocr, inputs=[pdf_file], outputs=[ocr_status])
|
| 323 |
|
| 324 |
gr.Examples(
|
| 325 |
+
examples=[["Shri Health Suraksha Insurance Policy.pdf"]] #,["small-insudoc.pdf"],["Principal-Sample-Life-Insurance-Policy.pdf"]],
|
| 326 |
inputs=[pdf_file],
|
| 327 |
label="Example PDFs"
|
| 328 |
)
|
|
|
|
| 337 |
)
|
| 338 |
)
|
| 339 |
)
|
|
|
|
| 340 |
gr.Examples(
|
| 341 |
examples=[
|
| 342 |
+
"Is there any bonus on this policy?",
|
| 343 |
+
"Will policy pay for the full room rent?",
|
| 344 |
+
"Is Cosmetic surgery covered in this policy?",
|
| 345 |
+
"Will this policy cover my cataract treatment?",
|
| 346 |
+
"Is ICU fully covered in this policy?",
|
| 347 |
+
"Is for correction of eye sight covered? Are there any limits?",
|
| 348 |
+
# "In what forms are the certificate avalaible?",
|
| 349 |
+
# "How many employees should enroll if the member is to not contribute premium?",
|
| 350 |
+
# "Can insurer contest this policy?",
|
| 351 |
+
# "when can insurer make changes to the policy?",
|
| 352 |
+
# "I gave incorrect age in the policy, what to do now?",
|
| 353 |
+
# "Can the data I filled in the application form to get the insurance policy be used against me?",
|
| 354 |
],
|
| 355 |
inputs=chat.textbox
|
| 356 |
)
|