Upload folder using huggingface_hub
Browse files
6.3.1/dropdown/shared/Dropdown.svelte
CHANGED
|
@@ -182,7 +182,10 @@
|
|
| 182 |
|
| 183 |
<div class:container>
|
| 184 |
{#if show_label && buttons && buttons.length > 0}
|
| 185 |
-
<IconButtonWrapper
|
|
|
|
|
|
|
|
|
|
| 186 |
{/if}
|
| 187 |
<BlockTitle {show_label} {info}>{label}</BlockTitle>
|
| 188 |
|
|
|
|
| 182 |
|
| 183 |
<div class:container>
|
| 184 |
{#if show_label && buttons && buttons.length > 0}
|
| 185 |
+
<IconButtonWrapper
|
| 186 |
+
{buttons}
|
| 187 |
+
on_custom_button_click={oncustom_button_click}
|
| 188 |
+
/>
|
| 189 |
{/if}
|
| 190 |
<BlockTitle {show_label} {info}>{label}</BlockTitle>
|
| 191 |
|
6.3.1/dropdown/shared/Multiselect.svelte
CHANGED
|
@@ -192,7 +192,10 @@
|
|
| 192 |
|
| 193 |
<label class:container={gradio.shared.container}>
|
| 194 |
{#if gradio.shared.show_label && buttons && buttons.length > 0}
|
| 195 |
-
<IconButtonWrapper
|
|
|
|
|
|
|
|
|
|
| 196 |
{/if}
|
| 197 |
<BlockTitle show_label={gradio.shared.show_label} info={gradio.props.info}
|
| 198 |
>{label}</BlockTitle
|
|
|
|
| 192 |
|
| 193 |
<label class:container={gradio.shared.container}>
|
| 194 |
{#if gradio.shared.show_label && buttons && buttons.length > 0}
|
| 195 |
+
<IconButtonWrapper
|
| 196 |
+
{buttons}
|
| 197 |
+
on_custom_button_click={oncustom_button_click}
|
| 198 |
+
/>
|
| 199 |
{/if}
|
| 200 |
<BlockTitle show_label={gradio.shared.show_label} info={gradio.props.info}
|
| 201 |
>{label}</BlockTitle
|