Enhancements to Input Handling and Report Generation in Anupalan Karta Compliance Checker This contribution improves the usability, robustness, and performance of the app by: โœ… Fixing PDF Upload Bugs Ensures multi-page PDFs are parsed correctly and avoids issues with NoneType returns from empty pages. ๐ŸŒ Improved Error Handling for URL Input Adds user-facing warnings for unreachable or invalid public policy URLs, improving clarity. ๐Ÿง  Prevents Duplicate AI Report Generation Adds a session-based state (ai_report_generated) to avoid unnecessary re-calls to the API, saving resources. ๐Ÿงน Cleaner UI & Sidebar Organization Streamlines the input mode options using st.sidebar and fixes misleading behaviors (e.g., fallback to warnings). ๐Ÿงช Ensures Accurate Framework Selection Connects selectedFw properly to run_check, allowing accurate filtering of results.

anmol11p changed pull request status to closed

Sign up or log in to comment