wifix199 commited on
Commit
e78d71d
·
verified ·
1 Parent(s): 8832fa9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -12,7 +12,7 @@ client = OpenAI(
12
  base_url="https://openrouter.ai/api/v1",
13
  api_key=os.environ["OPENROUTER_API_KEY"],
14
  )
15
-
16
  def openrouter_chat(user_message, history):
17
  """Send user_message to mistralai/devstral-small:free and append to history."""
18
  # build the messages list
@@ -34,4 +34,3 @@ with gr.Blocks() as demo:
34
  msg_in = gr.Textbox(placeholder="Type your question here…", label="You")
35
  msg_in.submit(openrouter_chat, inputs=[msg_in, chatbot], outputs=[chatbot, msg_in])
36
  demo.launch()
37
- #mistralai/Devstral-Small-2505
 
12
  base_url="https://openrouter.ai/api/v1",
13
  api_key=os.environ["OPENROUTER_API_KEY"],
14
  )
15
+ #mistralai/Devstral-Small-2505
16
  def openrouter_chat(user_message, history):
17
  """Send user_message to mistralai/devstral-small:free and append to history."""
18
  # build the messages list
 
34
  msg_in = gr.Textbox(placeholder="Type your question here…", label="You")
35
  msg_in.submit(openrouter_chat, inputs=[msg_in, chatbot], outputs=[chatbot, msg_in])
36
  demo.launch()