Inspiration

This project was inspired by intelligent tutoring apps. While they are helpful, oftentimes, they are not very engaging, leading to low-use and bored kids. We want to make studying fun!

What it does

SproutSmart provides the user with one of 1300 questions from the SAT History subject test (https://www.kaggle.com/datasets/trainingdatapro/sat-history-questions-and-answers?resource=download) and asks the user to answer it. Regardless of whether it is right or wrong, students then have the option to ask for an explanation of the question and answer. Not Finished If answered correctly, the correct answer will give Sprout, our protagonist, the courage to take on her foes the mighty Weed Empire.

How we built it

This was built in Python with the use of Pandas, OpenAI's API, Streamlit, and PyAutoGUI.

Challenges we ran into

Our main problem was with Streamlit, as it is a library we had never used before. Whenever Streamlit receives user input, the entire program is reset. We managed to work around this issue by saving information to session states which temporarily saves information. However, this created a new issue to where we could not easily reset the state, so we used PyAutoGUI to refresh the page. This solution is from: https://discuss.streamlit.io/t/is-it-possible-to-create-a-button-to-reset-relaod-the-whole-dashboard/6615/3

We also used the following for help with documentation:

https://discuss.streamlit.io/t/is-it-possible-to-create-a-button-to-reset-relaod-the-whole-dashboard/6615/3

https://www.geeksforgeeks.org/python-pandas-dataframe/

https://docs.streamlit.io/

https://platform.openai.com/docs/guides/text-generation

https://platform.openai.com/docs/quickstart

https://pyautogui.readthedocs.io/en/latest/

Accomplishments that we're proud of

We are proud to learn Streamlit and use the OpenAI API.

What we learned

How to use Streamlit.

What's next for SproutSmart

Add the game functionality!

Built With

  • openai
  • pyautogui
  • python
  • streamlit
Share this project:

Updates