mohamed.tsouli commited on
Commit
a972258
·
1 Parent(s): 01bf518

test commit

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -19,7 +19,7 @@ examples = ["Je suis un agriculture basé pas loin de bordeaux et je cultive du
19
  def chat_with_mistral(user_input, history):
20
  messages = [{"role": "user", "content": user_input}]
21
 
22
- chat_response = client.chat.complete(model=model, messages=messages)
23
  return chat_response.choices[0].message.content
24
  """
25
 
@@ -39,4 +39,5 @@ iface = gr.ChatInterface(
39
  cache_examples=False,
40
  )
41
 
42
- iface.launch(share=True)
 
 
19
  def chat_with_mistral(user_input, history):
20
  messages = [{"role": "user", "content": user_input}]
21
 
22
+ chat_response = client.chat.complete(model=model, messages=messages)P
23
  return chat_response.choices[0].message.content
24
  """
25
 
 
39
  cache_examples=False,
40
  )
41
 
42
+ iface.launch(share=True)
43
+