Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -283,7 +283,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
283 |
# respond(i,chat)
|
284 |
# )
|
285 |
sugg1 = gr.Button(suggestion[0], elem_classes="suggestion-btn").click(
|
286 |
-
|
287 |
)
|
288 |
sugg2 = gr.Button(suggestion[1], elem_classes="suggestion-btn").click(
|
289 |
suggestion1, outputs=chat
|
|
|
283 |
# respond(i,chat)
|
284 |
# )
|
285 |
sugg1 = gr.Button(suggestion[0], elem_classes="suggestion-btn").click(
|
286 |
+
respond, inputs=[suggestion[0], chat], outputs= [chat, chat]
|
287 |
)
|
288 |
sugg2 = gr.Button(suggestion[1], elem_classes="suggestion-btn").click(
|
289 |
suggestion1, outputs=chat
|