Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
from groq import Groq
|
5 |
|
6 |
# Set up Groq API client (ensure GROQ_API_KEY is set in your environment or as a Hugging Face secret for deployment)
|
7 |
-
client = Groq(api_key=
|
8 |
|
9 |
|
10 |
# Function to interact with the LLM using Groq's API
|
|
|
4 |
from groq import Groq
|
5 |
|
6 |
# Set up Groq API client (ensure GROQ_API_KEY is set in your environment or as a Hugging Face secret for deployment)
|
7 |
+
client = Groq(api_key=os.getenv("apikey"))
|
8 |
|
9 |
|
10 |
# Function to interact with the LLM using Groq's API
|