Update app.py
Browse files
app.py
CHANGED
|
@@ -98,7 +98,7 @@ def openrouter_chat(user_message, history, use_web_search):
|
|
| 98 |
try:
|
| 99 |
# Call the model with the mistralai/Devstral-Small-2505 for full conversation history
|
| 100 |
resp = client.chat.completions.create(
|
| 101 |
-
model="
|
| 102 |
messages=messages_for_api,
|
| 103 |
# you can tweak max_tokens, temperature, etc. here
|
| 104 |
)
|
|
@@ -227,8 +227,8 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
|
|
| 227 |
gr.Markdown(
|
| 228 |
"""
|
| 229 |
<div style="text-align: center; padding: 20px;">
|
| 230 |
-
<h1 style="font-size: 2.5em; margin-bottom: 10px;">🤖 AI Chat Assistant</h1>
|
| 231 |
-
<p style="font-size: 1.1em; color: #718096;">
|
| 232 |
</div>
|
| 233 |
""",
|
| 234 |
elem_id="header"
|
|
|
|
| 98 |
try:
|
| 99 |
# Call the model with the mistralai/Devstral-Small-2505 for full conversation history
|
| 100 |
resp = client.chat.completions.create(
|
| 101 |
+
model="deepseek/deepseek-r1-0528-qwen3-8b",
|
| 102 |
messages=messages_for_api,
|
| 103 |
# you can tweak max_tokens, temperature, etc. here
|
| 104 |
)
|
|
|
|
| 227 |
gr.Markdown(
|
| 228 |
"""
|
| 229 |
<div style="text-align: center; padding: 20px;">
|
| 230 |
+
<h1 style="font-size: 2.5em; margin-bottom: 10px;">🤖 AI Chat Assistant : deepseek-r1-0528-qwen3-8b</h1>
|
| 231 |
+
<p style="font-size: 1.1em; color: #718096;">with Web Search</p>
|
| 232 |
</div>
|
| 233 |
""",
|
| 234 |
elem_id="header"
|