This application allows you to upload a PDF and ask questions about its content.
Follow these steps to set up and run the application:
-
Create a virtual environment
Use the following command to create a new virtual environment named
.venv
:python3 -m venv .venv
-
Activate the virtual environment
Use the following command to activate the virtual environment:
source .venv/bin/activate
-
Install the required packages
Use the following command to install the packages listed in
requirements.txt
:pip install -r requirements.txt
Use the following command to run the application:
ollama run llama3:7b
streamlit run app.py