awacke1 commited on
Commit
b184b04
·
verified ·
1 Parent(s): e6636cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -280,10 +280,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
280
  """)
281
 
282
  with gr.Row():
283
- example_search_buttons = gr.Group(
284
- choices=[f"{term['emoji']} {term['id']}" for term in example_search_terms],
285
  label="Example Search Terms",
286
- value=None
287
  )
288
 
289
  with gr.Row():
 
280
  """)
281
 
282
  with gr.Row():
283
+ example_search_buttons = gr.Dataset(
284
+ components=[gr.Button(value=f"{term['emoji']} {term['id']}", variant="secondary") for term in example_search_terms],
285
  label="Example Search Terms",
286
+ samples=[]
287
  )
288
 
289
  with gr.Row():