david-oplatka commited on
Commit
7f3cdd6
·
verified ·
1 Parent(s): 164a1be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def append_example(example, history):
85
  # Create the Gradio Blocks interface
86
  with gr.Blocks() as demo:
87
  chatbot = gr.Chatbot(value=[[None, "How may I help you?"]])
88
- examples = gr.Examples(examples=app_examples, inputs=chatbot, outputs=chatbot, fn=append_example)
89
 
90
  gr.ChatInterface(
91
  fn = respond,
 
85
  # Create the Gradio Blocks interface
86
  with gr.Blocks() as demo:
87
  chatbot = gr.Chatbot(value=[[None, "How may I help you?"]])
88
+ examples = gr.Examples(examples=[[example] for example in app_examples], inputs=None, outputs=chatbot, fn=append_example)
89
 
90
  gr.ChatInterface(
91
  fn = respond,