This application validates slide decks using AI and deterministic checks. It supports PDF, PowerPoint (.pptx), LibreOffice Presentation (.odp), Canva, Figma, Google Slides, and Keynote formats.
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up environment variables:
OPENAI_API_KEY
: Your OpenAI API key
-
Set up Google Slides API:
- Go to the Google Cloud Console
- Create a new project or select an existing one
- Enable the Google Slides API for your project
- Create a service account and download the JSON key file
- Rename the downloaded file to
google_service_account.json
and place it in the root directory of the project
-
Run the application:
python app.py
- Open the application in your web browser.
- Upload a slide deck file (PDF, PPTX, ODP, or KEY) or provide a Canva, Figma, or Google Slides URL.
- Click "Validate" to process the slide deck.
- View the validation results, including both deterministic and AI-powered checks.
- Always use environment variables for sensitive information like API keys.
- Ensure that the
google_service_account.json
file is stored securely and not exposed to unauthorized users. - Regularly rotate your API keys and update the corresponding environment variables.