Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -273,11 +273,10 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
273 |
with gr.Column(elem_id="chat-interface"):
|
274 |
chat = gr.Chatbot(elem_id="chat-messages", show_label=False)
|
275 |
with gr.Row(elem_id="suggestions"):
|
276 |
-
for i in suggestion:
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
"""
|
281 |
sugg1 = gr.Button(suggestion_text_1, elem_classes="suggestion-btn").click(
|
282 |
suggestion1, outputs=chat
|
283 |
)
|
@@ -287,7 +286,6 @@ with gr.Blocks(theme=theme, css=css) as demo:
|
|
287 |
sugg3 = gr.Button(suggestion_text_3, elem_classes="suggestion-btn").click(
|
288 |
suggestion3, outputs=chat
|
289 |
)
|
290 |
-
"""
|
291 |
with gr.Row(elem_id="input-area"):
|
292 |
text_input = gr.Textbox(placeholder="Write to ALOQAS...", show_label=False)
|
293 |
#send_button = gr.Button("Send", elem_classes="send")
|
|
|
273 |
with gr.Column(elem_id="chat-interface"):
|
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 |
sugg1 = gr.Button(suggestion_text_1, elem_classes="suggestion-btn").click(
|
281 |
suggestion1, outputs=chat
|
282 |
)
|
|
|
286 |
sugg3 = gr.Button(suggestion_text_3, elem_classes="suggestion-btn").click(
|
287 |
suggestion3, outputs=chat
|
288 |
)
|
|
|
289 |
with gr.Row(elem_id="input-area"):
|
290 |
text_input = gr.Textbox(placeholder="Write to ALOQAS...", show_label=False)
|
291 |
#send_button = gr.Button("Send", elem_classes="send")
|