mrn3088 / tutor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install

Clone the project

git clone https://github.com/mrn3088/tutor.git

Create virtual environment

python3 -m venv venv
source venv/bin/activate # on linux/macos
venv\Scripts\activate # on windows

Install requirements

mkdir db
mkdir document
pip install -r requirements.txt

Install and start mongodb

MacOS

brew tap mongodb/brew
brew install mongodb-community
brew services start mongodb-community

Linux

sudo apt-get install -y mongodb-org
sudo systemctl start mongod

Windows

Please follow the instructions here.

Set OPENAI_API_KEY

echo "OPENAI_API_KEY=YOUR_API_KEY" > .env

Run

streamlit run app.py

About


Languages

Language:Python 100.0%