- Create .env file at the root and add your credentials (OPENAI_API_KEY, PINECONE_API_KEY, and PINECONE_INDEX_NAME)
- Run
poetry install
to install project's dependencies. To install optional groups, e.g. 'dev', you need to
run poetry install --with dev
export PYTHONPATH=.
streamlit run src/dashboard.py --server.port 8502 --server.address 0.0.0.0 --theme.backgroundColor "#FFFFFF" --theme.secondaryBackgroundColor "#EDF7FF" --theme.textColor "#000000"
Run dashboard with Docker:
- Build an image
docker build -t train_review_dashboard .
- Start a container
docker run -p 8502:8502 train_review_dashboard