Azhs commited on
Commit
943f6a8
·
verified ·
1 Parent(s): 4d78659

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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[1], elem_classes="suggestion-btn").click(
281
  suggestion1, outputs=chat
282
  )
283
- sugg2 = gr.Button(suggestion[2], elem_classes="suggestion-btn").click(
284
  suggestion2, outputs=chat
285
  )
286
- sugg3 = gr.Button(suggestion[3], elem_classes="suggestion-btn").click(
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"):