Spaces:
Sleeping
Sleeping
A newer version of the Streamlit SDK is available: 1.56.0
metadata
title: PDF Chatbot
emoji: π
colorFrom: green
colorTo: red
sdk: streamlit
sdk_version: 1.45.1
app_file: app.py
pinned: false
PDF Chatbot with LLaMA
Overview
A powerful PDF chatbot application that allows users to upload PDF documents and ask questions about their content. Built with Streamlit for the frontend and leveraging LLaMA-based models for natural language processing, this application provides an intuitive interface for document-based question answering.
Features
π Upload and process PDF documents
π¬ Chat interface for asking questions about document content
β‘ Fast response generation using LLaMA-based models
π§ Context-aware answers based on document content
π¨ Clean, user-friendly interface
π Sample PDF with demo questions included
Installation
- Clone the repository:
git clone https://github.com/Muzenda-K/PDF-Chatbot.git
cd pdf-chatbot
- Create and activate a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the required dependencies:
pip install -r requirements.txt
Usage
- Run the Streamlit application:
streamlit run app.py
- The application will open in your default browser at
http://localhost:8501 - Either use the provided sample PDF or upload your own document
- Start asking questions about the document content
Project demo
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a Pull Request
License
Distributed under the MIT License.
