Use AI to generate practice quizzes directly from your notes.
The languages used in this project are Python, HTML, CSS, and JavaScript. The libraries used in this project are Flask, PyPDF2, and NLTK. The web app is hosted on Oracle Cloud Infrastructure.
- Clone the repository
git clone https://github.com/CoolCoderSJ/Practinote.git
- Install the required libraries
pip install -r requirements.txt
-
Setup a Google Service Account
- Go to the Google Cloud Console
- Create a new project
- Go to the Google Cloud Console API Library
- Enable the Google Drive API and Google Sheets API
- Go to the Google Cloud Console Credentials Page
- Create a new service account
- Download the JSON file and rename it to
service-secrets.json
-
Setup the environment variables
- Create a file and name it
.env
- Visit Cohere and create an account
- Navigate to https://dashboard.cohere.com/api-keys
- Copy the Trial API key
- Paste the API key into the
.env
file Here's an example of what the.env
file should look like-
COHERE=your_api_key_goes_here
- Run the app
python main.py