Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from groq import Groq
|
|
| 9 |
# Set Your API Keys
|
| 10 |
# Use environment variables securely
|
| 11 |
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
|
| 12 |
-
HF_API_KEY = os.getenv("
|
| 13 |
|
| 14 |
if not GROQ_API_KEY or not HF_API_KEY:
|
| 15 |
raise ValueError("GROQ_API_KEY and HF_TOKEN must be set in the environment variables.")
|
|
|
|
| 9 |
# Set Your API Keys
|
| 10 |
# Use environment variables securely
|
| 11 |
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
|
| 12 |
+
HF_API_KEY = os.getenv("HF_API_KEY")
|
| 13 |
|
| 14 |
if not GROQ_API_KEY or not HF_API_KEY:
|
| 15 |
raise ValueError("GROQ_API_KEY and HF_TOKEN must be set in the environment variables.")
|