Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import gradio as gr
|
|
| 8 |
|
| 9 |
# Set up the ChatGroq API
|
| 10 |
GROQ_API_KEY = os.environ.get("GROQ_API_KEY")
|
| 11 |
-
if not
|
| 12 |
raise ValueError("Please set the GROQ_API_KEY environment variable")
|
| 13 |
|
| 14 |
# Initialize the ChatGroq LLM
|
|
|
|
| 8 |
|
| 9 |
# Set up the ChatGroq API
|
| 10 |
GROQ_API_KEY = os.environ.get("GROQ_API_KEY")
|
| 11 |
+
if not GROQ_API_KEY:
|
| 12 |
raise ValueError("Please set the GROQ_API_KEY environment variable")
|
| 13 |
|
| 14 |
# Initialize the ChatGroq LLM
|