A simple Streamlit app to upload a PDF, edit it using Gemini (Google AI), and download a beautifully formatted PDF.
- Upload any PDF
- Extracts content using
PyPDF2 - Edits with Google Gemini (1.5 Flash) using your prompt
- Converts Markdown to styled PDF using
pdfkit - Download the edited PDF
git clone https://github.com/yourusername/pdf-editor-streamlit.git
cd pdf-editor-streamlit
python -m venv venv
venv\Scripts\activate # or source venv/bin/activate (Linux/Mac)
pip install -r requirements.txt