Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def load_shopify_context():
|
|
23 |
return '\n'.join(examples)
|
24 |
|
25 |
def generate_response(message, history):
|
26 |
-
api_key = os.getenv("
|
27 |
if not api_key:
|
28 |
return "Error: GROQ_API_KEY not set. Please add it as a secret in your Space."
|
29 |
client = Groq(api_key=api_key)
|
|
|
23 |
return '\n'.join(examples)
|
24 |
|
25 |
def generate_response(message, history):
|
26 |
+
api_key = os.getenv("Mujtaba_shopify_chatbot_key")
|
27 |
if not api_key:
|
28 |
return "Error: GROQ_API_KEY not set. Please add it as a secret in your Space."
|
29 |
client = Groq(api_key=api_key)
|