Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -134,10 +134,10 @@ def respond_with_enhanced_streaming(message, history):
|
|
| 134 |
system_message="You are EduBot, an expert AI learning assistant. Provide comprehensive, educational responses that help students truly understand concepts."
|
| 135 |
)
|
| 136 |
|
| 137 |
-
# Use the Together provider with
|
| 138 |
response = client.text_generation(
|
| 139 |
formatted_prompt,
|
| 140 |
-
model="
|
| 141 |
max_new_tokens=1024,
|
| 142 |
temperature=0.7,
|
| 143 |
top_p=0.9,
|
|
|
|
| 134 |
system_message="You are EduBot, an expert AI learning assistant. Provide comprehensive, educational responses that help students truly understand concepts."
|
| 135 |
)
|
| 136 |
|
| 137 |
+
# Use the Together provider with the simplest recommended model
|
| 138 |
response = client.text_generation(
|
| 139 |
formatted_prompt,
|
| 140 |
+
model="Qwen/Qwen2.5-7B-Instruct",
|
| 141 |
max_new_tokens=1024,
|
| 142 |
temperature=0.7,
|
| 143 |
top_p=0.9,
|