Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -277,13 +277,13 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
277 |
# gr.Button(i, elem_classes="suggestion-btn").click(
|
278 |
# respond(i,chat)
|
279 |
# )
|
280 |
-
sugg1 = gr.Button(suggestion[
|
281 |
suggestion1, outputs=chat
|
282 |
)
|
283 |
-
sugg2 = gr.Button(suggestion[
|
284 |
suggestion2, outputs=chat
|
285 |
)
|
286 |
-
sugg3 = gr.Button(suggestion[
|
287 |
suggestion3, outputs=chat
|
288 |
)
|
289 |
with gr.Row(elem_id="input-area"):
|
|
|
277 |
# gr.Button(i, elem_classes="suggestion-btn").click(
|
278 |
# respond(i,chat)
|
279 |
# )
|
280 |
+
sugg1 = gr.Button(suggestion[0], elem_classes="suggestion-btn").click(
|
281 |
suggestion1, outputs=chat
|
282 |
)
|
283 |
+
sugg2 = gr.Button(suggestion[1], elem_classes="suggestion-btn").click(
|
284 |
suggestion2, outputs=chat
|
285 |
)
|
286 |
+
sugg3 = gr.Button(suggestion[2], elem_classes="suggestion-btn").click(
|
287 |
suggestion3, outputs=chat
|
288 |
)
|
289 |
with gr.Row(elem_id="input-area"):
|