eliot-hub commited on
Commit
9082c6d
·
1 Parent(s): f069c91
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -146,14 +146,13 @@ def chatbot(message, history):
146
  return response
147
 
148
  iface = gr.ChatInterface(
149
- fn=chatbot,
150
- textbox=gr.Textbox(lines=3),
151
  title="Dataltist Chatbot",
152
- description="Posez vos questions",
153
- # theme="soft",
154
  examples=[
155
- {"text": "Qu'est-ce que l'assurance multirisque habitation ?"},
156
- {"text": "Qu'est-ce que la garantie DTA ?"},
157
  ],
158
  retry_btn=None,
159
  undo_btn=None,
 
146
  return response
147
 
148
  iface = gr.ChatInterface(
149
+ chatbot,
 
150
  title="Dataltist Chatbot",
151
+ description="Posez vos questions sur l'assurance",
152
+ theme="soft",
153
  examples=[
154
+ "Qu'est-ce que l'assurance multirisque habitation ?",
155
+ "Qu'est-ce que la garantie DTA ?",
156
  ],
157
  retry_btn=None,
158
  undo_btn=None,