Spaces:
Sleeping
Sleeping
| import os | |
| from dotenv import load_dotenv | |
| from .app import app | |
| load_dotenv() | |
| if not os.getenv("SMTP_SERVER"): | |
| raise ValueError("SMTP_SERVER environment not set.") | |
| if not os.getenv("SMTP_PORT"): | |
| raise ValueError("SMTP_PORT environment not set.") | |
| if not os.getenv("SMTP_USERNAME"): | |
| raise ValueError("SMTP_USERNAME environment not set.") | |
| if not os.getenv("SMTP_PASSWORD"): | |
| raise ValueError("SMTP_PASSWORD environment not set.") | |
| if not os.getenv("SENDER_EMAIL"): | |
| raise ValueError("SENDER_EMAIL environment not set.") | |
| __all__ = ["app"] | |
| __version__ = "0.1.0" | |
| __author__ = "Kanha Upadhyay" | |