-
Run the following commads
pip install google-api-python-client google-auth pip install pypdf pip install openai pip install python-dotenv -
Create an
.envfile in the root directory of the project. -
Add the following environment variables to the
.envfile: '''SERVICE_ACCOUNT_FILE=credentials.json
FOLDER_ID=your_folder_id
DOWNLOAD_DIR=path_to_download_folder TEXT_DIR=path_to_text_output_folder AUDIO_DIR=path_to_audio_output_folder
DAYS_BACK= 0
EMAIL_PASSWORD=your_email_password EMAIL_FROM=your_email EMAIL_TO=your_email
CLEAN_TEXT=true PREMIUM_TTS=true
OPENAI_API_KEY=your_openai_key '''