Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
| 284 |
-
|
| 285 |
label="Example Search Terms",
|
| 286 |
-
|
| 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():
|