python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
Before running the pipeline make sure your pc is have at least 8GB Ram for faster execution
python3 run_pipeline.py
streamlit run streamlit_app.py
Before Using the FastAPI
1 - You have to Install Docker on your machine 2 - before running any codes you have to make sure you created .env and done the setup
DATABASE_PORT=PORT_NUMBER
POSTGRES_PASSWORD=PASSWORD
POSTGRES_USER=USER_NAME
POSTGRES_DB=NAME_FOR_DB
POSTGRES_HOST=HOST_NAME
POSTGRES_HOSTNAME=HOST_ADDRESS
3 - Execute this command to start docker image for postgresql
docker-compose up -d
4 - Run the app.py File to get the api's
uvicorn app:app --reload
This will fix the indentation issues, whitespace and other basic formate
python3 clean_code.py
- For Pushing this code to your repo you have to install git lfs
git lfs install