Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -274,8 +274,8 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
274 |
chat = gr.Chatbot(elem_id="chat-messages", show_label=False)
|
275 |
with gr.Row(elem_id="suggestions"):
|
276 |
for i in suggestion:
|
277 |
-
gr.Button(
|
278 |
-
respond(
|
279 |
)
|
280 |
"""
|
281 |
sugg1 = gr.Button(suggestion_text_1, elem_classes="suggestion-btn").click(
|
|
|
274 |
chat = gr.Chatbot(elem_id="chat-messages", show_label=False)
|
275 |
with gr.Row(elem_id="suggestions"):
|
276 |
for i in suggestion:
|
277 |
+
gr.Button(i, elem_classes="suggestion-btn").click(
|
278 |
+
respond(i,chat)
|
279 |
)
|
280 |
"""
|
281 |
sugg1 = gr.Button(suggestion_text_1, elem_classes="suggestion-btn").click(
|