--- title: Image Text Compliance emoji: 📉 colorFrom: blue colorTo: gray sdk: gradio sdk_version: 5.42.0 app_file: app.py pinned: false --- # Image Text Compliance This application checks images and text for compliance with Fair Housing regulations. ## Configuration The application can be configured using environment variables. ### Email Notifications To receive email notifications when a compliance check fails, set the following environment variables: - `EMAIL_ON_FAILURE`: Set to `1` to enable email notifications. - `SMTP_SERVER`: The hostname or IP address of the SMTP server. - `SMTP_PORT`: The port number of the SMTP server (e.g., 587 for TLS). - `SMTP_USER`: The username for authenticating with the SMTP server. - `SMTP_PASSWORD`: The password for authenticating with the SMTP server. - `EMAIL_RECIPIENT`: The email address to send the notification to.