sitammeur commited on
Commit
95b3647
·
verified ·
1 Parent(s): c0d4a98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -162,7 +162,6 @@ def respond(
162
  # Create a chat interface
163
  demo = gr.ChatInterface(
164
  respond,
165
- type="messages",
166
  examples=[["What is the capital of France?"], ["Tell me something about artificial intelligence."], ["What is gravity?"]],
167
  additional_inputs_accordion=gr.Accordion(
168
  label="⚙️ Parameters", open=False, render=False
@@ -231,6 +230,7 @@ demo = gr.ChatInterface(
231
  description=description,
232
  chatbot=gr.Chatbot(scale=1, show_copy_button=True, resizable=True),
233
  flagging_mode="never",
 
234
  # save_history=True,
235
  )
236
 
 
162
  # Create a chat interface
163
  demo = gr.ChatInterface(
164
  respond,
 
165
  examples=[["What is the capital of France?"], ["Tell me something about artificial intelligence."], ["What is gravity?"]],
166
  additional_inputs_accordion=gr.Accordion(
167
  label="⚙️ Parameters", open=False, render=False
 
230
  description=description,
231
  chatbot=gr.Chatbot(scale=1, show_copy_button=True, resizable=True),
232
  flagging_mode="never",
233
+ editable=True,
234
  # save_history=True,
235
  )
236