Spaces:
Sleeping
Sleeping
Changed model and alterned default context to remove location.
Browse files
app.py
CHANGED
|
@@ -45,14 +45,14 @@ def handle_submit():
|
|
| 45 |
]
|
| 46 |
else:
|
| 47 |
messages = [
|
| 48 |
-
{"role": "system", "content": f"Context: Adrega is
|
| 49 |
{"role": "user", "content": user_input}
|
| 50 |
]
|
| 51 |
|
| 52 |
completion = client.chat.completions.create(
|
| 53 |
-
model="Qwen/Qwen2.5-72B-Instruct",
|
| 54 |
#model="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 55 |
-
|
| 56 |
messages=messages,
|
| 57 |
max_tokens=1000
|
| 58 |
)
|
|
|
|
| 45 |
]
|
| 46 |
else:
|
| 47 |
messages = [
|
| 48 |
+
{"role": "system", "content": f"Context: Adrega is a powerful project management and reporting tool. It can show Gantt diagrams, S-Curves, Tabular reports and various charts in single reports, report bundles or in a customizable dashboard."},
|
| 49 |
{"role": "user", "content": user_input}
|
| 50 |
]
|
| 51 |
|
| 52 |
completion = client.chat.completions.create(
|
| 53 |
+
#model="Qwen/Qwen2.5-72B-Instruct",
|
| 54 |
#model="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 55 |
+
model="HuggingFaceTB/SmolLM2-1.7B-Instruct",
|
| 56 |
messages=messages,
|
| 57 |
max_tokens=1000
|
| 58 |
)
|