Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ from groq import Groq
|
|
| 5 |
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
|
| 6 |
# Initialize the Groq client
|
| 7 |
client = Groq(api_key=GROQ_API_KEY)
|
|
|
|
| 8 |
# Chatbot logic
|
| 9 |
def chat_with_groq(message):
|
| 10 |
try:
|
|
|
|
| 5 |
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
|
| 6 |
# Initialize the Groq client
|
| 7 |
client = Groq(api_key=GROQ_API_KEY)
|
| 8 |
+
|
| 9 |
# Chatbot logic
|
| 10 |
def chat_with_groq(message):
|
| 11 |
try:
|