Spaces:
Build error
Build error
Update app.py
Browse files321 unmodified lines3223233243253263273288 unmodified lines337338339340341342343344345346347348349350351321 unmodified linespdf_file.change(process_pdf_ocr, inputs=[pdf_file], outputs=[ocr_status])gr.Examples(examples=[["small-insudoc.pdf"],["Principal-Sample-Life-Insurance-Policy.pdf"], ["NIC - National Mediclaim Plus Policy.pdf"]],inputs=[pdf_file],label="Example PDFs")8 unmodified lines)))gr.Examples(examples=["In what forms are the certificate avalaible?","How many employees should enroll if the member is to not contribute premium?","Can insurer contest this policy?","when can insurer make changes to the policy?","I gave incorrect age in the policy, what to do now?","Can the data I filled in the application form to get the insurance policy be used against me?"],inputs=chat.textbox)321 unmodified lines3223233243253263273288 unmodified lines337338339340341342343344345346347348349350351352353354355356321 unmodified linespdf_file.change(process_pdf_ocr, inputs=[pdf_file], outputs=[ocr_status])gr.Examples(examples=[["Shri Health Suraksha Insurance Policy.pdf"]] #,["small-insudoc.pdf"],["Principal-Sample-Life-Insurance-Policy.pdf"]],inputs=[pdf_file],label="Example PDFs")8 unmodified lines)))gr.Examples(examples=["Is there any bonus on this policy?","Will policy pay for the full room rent?","Is Cosmetic surgery covered in this policy?","Will this policy cover my cataract treatment?","Is ICU fully covered in this policy?","Is for correction of eye sight covered? Are there any limits?",# "In what forms are the certificate avalaible?",# "How many employees should enroll if the member is to not contribute premium?",# "Can insurer contest this policy?",# "when can insurer make changes to the policy?",# "I gave incorrect age in the policy, what to do now?",# "Can the data I filled in the application form to get the insurance policy be used against me?",],inputs=chat.textbox)
app.py+13-8