Skip to content

hawkh/chatwithpdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Chat Application with Google Gemini

Overview

This Streamlit application allows users to upload PDF files and ask questions about their content using Google's Gemini AI.

Prerequisites

  • Python 3.8+
  • Google AI API Key

Setup Instructions

  1. Clone the repository
git clone https://github.com/hawkh/chatwithpdf.git
cd pdf-chat-app
  1. Create a virtual environment
python -m venv venv
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  1. Install dependencies
pip install -r requirements.txt
  1. Set up Google AI API Key
  1. Run the application
streamlit run main.py

Deployment

  • For Streamlit Cloud:
    1. Push to GitHub
    2. Connect Streamlit Cloud to your repository
    3. Set environment variables in Streamlit Cloud settings

Notes

  • Ensure you have a stable internet connection
  • Large PDFs may take longer to process

🤝 Contributing

  • Contributions are welcome! Please check the outstanding issues and feel free to open a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages