Update config.py
Browse files
config.py
CHANGED
@@ -6,8 +6,8 @@ load_dotenv()
|
|
6 |
API_ID = os.getenv("API_ID")
|
7 |
API_HASH = os.getenv("API_HASH")
|
8 |
BOT_TOKEN = os.getenv("BOT_TOKEN")
|
|
|
9 |
|
10 |
-
# Validate essential environment variables
|
11 |
if not all([API_ID, API_HASH, BOT_TOKEN]):
|
12 |
LOGS.critical("Missing one or more essential environment variables.")
|
13 |
exit(1)
|
|
|
6 |
API_ID = os.getenv("API_ID")
|
7 |
API_HASH = os.getenv("API_HASH")
|
8 |
BOT_TOKEN = os.getenv("BOT_TOKEN")
|
9 |
+
HF_KEY = os.getenv("HF_KEY")
|
10 |
|
|
|
11 |
if not all([API_ID, API_HASH, BOT_TOKEN]):
|
12 |
LOGS.critical("Missing one or more essential environment variables.")
|
13 |
exit(1)
|