Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -181,13 +181,13 @@ with gr.Blocks() as demo:
|
|
181 |
def set_example(label):
|
182 |
return examples[label]
|
183 |
|
|
|
184 |
with gr.Row():
|
185 |
for label in examples:
|
186 |
-
gr.Button(label).click(
|
187 |
fn=set_example,
|
188 |
inputs=gr.State(label),
|
189 |
outputs=channel_input,
|
190 |
-
size="sm",
|
191 |
)
|
192 |
|
193 |
with gr.Row():
|
|
|
181 |
def set_example(label):
|
182 |
return examples[label]
|
183 |
|
184 |
+
gr.Markdown("Click on any example below and then click on add channels button.")
|
185 |
with gr.Row():
|
186 |
for label in examples:
|
187 |
+
gr.Button(label, size="sm", variant="secondary").click(
|
188 |
fn=set_example,
|
189 |
inputs=gr.State(label),
|
190 |
outputs=channel_input,
|
|
|
191 |
)
|
192 |
|
193 |
with gr.Row():
|