hmb HF staff commited on
Commit
f2cc0c3
1 Parent(s): 510c619

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -2,8 +2,8 @@
2
  ---
3
  tags: [gradio-custom-component,gradio-template-Gallery]
4
  title: gradio_carousel V0.0.1
5
- colorFrom: blue
6
- colorTo: blue
7
  sdk: docker
8
  pinned: false
9
  license: apache-2.0
 
2
  ---
3
  tags: [gradio-custom-component,gradio-template-Gallery]
4
  title: gradio_carousel V0.0.1
5
+ colorFrom: red
6
+ colorTo: red
7
  sdk: docker
8
  pinned: false
9
  license: apache-2.0
src/backend/gradio_carousel/templates/component/index.js CHANGED
The diff for this file is too large to render. See raw diff
 
src/frontend/shared/Gallery.svelte CHANGED
@@ -12,7 +12,6 @@
12
 
13
  import { Download, Image as ImageIcon } from "@gradio/icons";
14
  import { normalise_file, type FileData } from "@gradio/client";
15
- import { format_gallery_for_sharing } from "./utils";
16
  import { IconButton } from "@gradio/atoms";
17
  import type { I18nFormatter } from "@gradio/utils";
18
 
@@ -321,17 +320,6 @@
321
  />
322
  </div>
323
  {/if}
324
- {#if show_share_button}
325
- <div class="icon-button">
326
- <ShareButton
327
- {i18n}
328
- on:share
329
- on:error
330
- value={resolved_value}
331
- formatter={format_gallery_for_sharing}
332
- />
333
- </div>
334
- {/if}
335
  <button
336
  class="embla__slide__img"
337
  class:selected={selected_index === i}
 
12
 
13
  import { Download, Image as ImageIcon } from "@gradio/icons";
14
  import { normalise_file, type FileData } from "@gradio/client";
 
15
  import { IconButton } from "@gradio/atoms";
16
  import type { I18nFormatter } from "@gradio/utils";
17
 
 
320
  />
321
  </div>
322
  {/if}
 
 
 
 
 
 
 
 
 
 
 
323
  <button
324
  class="embla__slide__img"
325
  class:selected={selected_index === i}
src/pyproject.toml CHANGED
@@ -39,7 +39,7 @@ classifiers = [
39
  dev = ["build", "twine"]
40
 
41
  [tool.hatch.build]
42
- artifacts = ["/backend/gradio_carousel/templates", "*.pyi", "backend/gradio_carousel/templates"]
43
 
44
  [tool.hatch.build.targets.wheel]
45
  packages = ["/backend/gradio_carousel"]
 
39
  dev = ["build", "twine"]
40
 
41
  [tool.hatch.build]
42
+ artifacts = ["/backend/gradio_carousel/templates", "*.pyi", "backend/gradio_carousel/templates", "backend/gradio_carousel/templates"]
43
 
44
  [tool.hatch.build.targets.wheel]
45
  packages = ["/backend/gradio_carousel"]