Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
from groq import Groq
|
4 |
|
5 |
# You will set API key directly in Colab cell environment (no .env file needed)
|
6 |
-
api_key =
|
7 |
|
8 |
if not api_key:
|
9 |
st.error("Please set the GROQ_API_KEY environment variable.")
|
|
|
3 |
from groq import Groq
|
4 |
|
5 |
# You will set API key directly in Colab cell environment (no .env file needed)
|
6 |
+
api_key = os.environ['GROQ_API']
|
7 |
|
8 |
if not api_key:
|
9 |
st.error("Please set the GROQ_API_KEY environment variable.")
|