sitammeur commited on
Commit
b4d9918
·
verified ·
1 Parent(s): e65d82c

Update app.py

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