[quickadvancetools-awais-dev]
commited on
Commit
·
d40d285
1
Parent(s):
a2f2677
fix 2
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def query_groq_model(prompt, temperature=0.7):
|
|
| 19 |
"""Send request to Groq API."""
|
| 20 |
url = "https://api.groq.com/openai/v1/chat/completions"
|
| 21 |
headers = {
|
| 22 |
-
"Authorization":
|
| 23 |
"Content-Type": "application/json"
|
| 24 |
}
|
| 25 |
payload = {
|
|
|
|
| 19 |
"""Send request to Groq API."""
|
| 20 |
url = "https://api.groq.com/openai/v1/chat/completions"
|
| 21 |
headers = {
|
| 22 |
+
"Authorization": "Bearer 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",
|
| 23 |
"Content-Type": "application/json"
|
| 24 |
}
|
| 25 |
payload = {
|