Refactor app.py to improve OCR functionality and enhance Gradio interface with separate tabs for image and PDF processing; update requirements.txt to include necessary packages.
Refactor app.py to remove Python and Torch version logging; install flash-attn package at runtime. Update requirements.txt to remove flash-attn wheel link.