Ferrxni commited on
Commit
84b61cf
·
1 Parent(s): f91a56b

update app

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -24,16 +24,11 @@ def chat_with_mistral(user_input):
24
 
25
  app = gr.Interface(
26
  fn=chat_with_mistral,
27
- chatbot=gr.Chatbot(height=300),
28
- textbox=gr.Textbox(placeholder=placeholder, container=False, scale=7),
29
  title=title,
30
  description=description,
31
- theme="soft",
32
- examples=examples,
33
- cache_examples=True,
34
- retry_btn=None,
35
- undo_btn="Annuler",
36
- clear_btn="Effacer",
37
  )
38
 
39
  if __name__ == "__main__":
 
24
 
25
  app = gr.Interface(
26
  fn=chat_with_mistral,
27
+ inputs=gr.inputs.Textbox(lines=2, placeholder=placeholder),
28
+ outputs="text",
29
  title=title,
30
  description=description,
31
+ examples=examples
 
 
 
 
 
32
  )
33
 
34
  if __name__ == "__main__":