{% extends "base.html" %} {% block title %}Settings{% endblock %} {% block head %} {% endblock %} {% block content %}

Application Settings

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %}
Google Drive Integration
Status: {% if client_secret_exists %} Configured {% else %} Not Found {% endif %}
Upload the client_secret.json file from Google Cloud Console to enable Drive integration.
Required Redirect URI:
{{ drive_redirect_uri }}
Ensure this URI is exactly listed in your Google Cloud Console "Authorized redirect URIs".

NeetPrep Settings
Enable synchronization with NeetPrep for question data.

Classifier Settings
Choose the AI model for automatic question classification. Gemini uses Google's Gemini API, while Nova uses Amazon's Nova model via OpenRouter. Requires relevant API keys to be set.

PDF & Image Settings
Set the resolution for converting PDF pages to images. Higher values (e.g., 300) are better for quality and OCR but create larger files. Lower values (e.g., 150) are faster. Default: 300, Max: 900.
Set the output resolution (DPI) for processed images from the Color Removal tool when generating PDFs. Default: 200, Max: 600.

{% endblock %}