Spaces:
Sleeping
Sleeping
Update groq_chat.py
Browse files- groq_chat.py +1 -1
groq_chat.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
import requests
|
| 4 |
import os
|
| 5 |
|
| 6 |
-
GROQ_API_KEY = os.getenv("GROQ_API_KEY", "
|
| 7 |
MODEL = "llama3-8b-8192"
|
| 8 |
|
| 9 |
def chat_with_groq(prompt, history=None, system_prompt="You are a helpful assistant.", temperature=0.7):
|
|
|
|
| 3 |
import requests
|
| 4 |
import os
|
| 5 |
|
| 6 |
+
GROQ_API_KEY = os.getenv("GROQ_API_KEY", "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")
|
| 7 |
MODEL = "llama3-8b-8192"
|
| 8 |
|
| 9 |
def chat_with_groq(prompt, history=None, system_prompt="You are a helpful assistant.", temperature=0.7):
|