Arjun Singh
commited on
Commit
·
7dfdcc5
1
Parent(s):
f040416
fix
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ client = Groq(
|
|
| 10 |
api_key=os.environ.get("groq_api_key"),
|
| 11 |
)
|
| 12 |
|
| 13 |
-
def chat_with_llama(
|
| 14 |
chat_completion = client.chat.completions.create(
|
| 15 |
messages=[{"role": "system", "content": system_prompt},{"role": "user", "content": prompt}],
|
| 16 |
model="llama-3.1-8b-instant",
|
|
|
|
| 10 |
api_key=os.environ.get("groq_api_key"),
|
| 11 |
)
|
| 12 |
|
| 13 |
+
def chat_with_llama(prompt):
|
| 14 |
chat_completion = client.chat.completions.create(
|
| 15 |
messages=[{"role": "system", "content": system_prompt},{"role": "user", "content": prompt}],
|
| 16 |
model="llama-3.1-8b-instant",
|