Spaces:
Sleeping
Sleeping
more updates
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def generate_llm_response(text, model_id="ccibeekeoc42/Llama3.1-8b-base-SFT-2024
|
|
40 |
chat_completion = client.chat.completions.create(
|
41 |
model="tgi",
|
42 |
messages=[
|
43 |
-
{"role": "system", "content": "You are a BRIEF AND DIRECT assistant.
|
44 |
{"role": "user", "content": text}
|
45 |
],
|
46 |
top_p=0.3,
|
|
|
40 |
chat_completion = client.chat.completions.create(
|
41 |
model="tgi",
|
42 |
messages=[
|
43 |
+
{"role": "system", "content": "You are a very BRIEF AND DIRECT assistant. As part of a speech pipeline so keep your responses short (under 60 words), fluent, and straight to the point. Avoid markdown or digits in responses."},
|
44 |
{"role": "user", "content": text}
|
45 |
],
|
46 |
top_p=0.3,
|