Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 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,
|