aiqcamp commited on
Commit
84070a9
·
verified ·
1 Parent(s): 9d5057d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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="mistralai/devstral-small:free",
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;">Powered by Devstral with Web Search</p>
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",
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</h1>
231
+ <p style="font-size: 1.1em; color: #718096;">with Web Search</p>
232
  </div>
233
  """,
234
  elem_id="header"