- Clone the repository
- Create a virtual environment and activate it
- Install the required packages by running
pip install -r requirements.txt
- Set the
OPENAI_API_KEY
environment variable to your OpenAI API key in a.env
file - Run the
python src/module/create_trivia.py
script to generate trivia questions and answers - Once streamlit app is done, you can access it by running
streamlit run src/streamlit_app.py
Note: check the
src/module/create_trivia.py
script for more details and testing purposes.