Azhs commited on
Commit
39fe72b
·
verified ·
1 Parent(s): 7801f1f

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(suggestion[i], elem_classes="suggestion-btn").click(
278
- respond(suggestion[i],chat)
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(