Spaces:
Sleeping
Sleeping
change LLM model
Browse files
app.py
CHANGED
@@ -44,8 +44,8 @@ def autocomplete(text):
|
|
44 |
"""
|
45 |
if text != "":
|
46 |
response = groq_client.chat.completions.create(
|
47 |
-
model='
|
48 |
-
messages=[{"role": "system", "content": "
|
49 |
{"role": "user", "content": text}]
|
50 |
)
|
51 |
|
|
|
44 |
"""
|
45 |
if text != "":
|
46 |
response = groq_client.chat.completions.create(
|
47 |
+
model='llama3-8b-8192',
|
48 |
+
messages=[{"role": "system", "content": "Tu es une assistante tres polis, tu ne repond que en francais et uniquement en utilisant le vous et jamais le tu"},
|
49 |
{"role": "user", "content": text}]
|
50 |
)
|
51 |
|