+
{#each tabs as t, i}
{#if t.id === $selected_tab}
diff --git a/ui/packages/upload/src/clear.svg b/ui/packages/upload/src/clear.svg
deleted file mode 100644
index 333d9758a1..0000000000
--- a/ui/packages/upload/src/clear.svg
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
diff --git a/ui/packages/upload/src/edit.svg b/ui/packages/upload/src/edit.svg
deleted file mode 100644
index 4259926227..0000000000
--- a/ui/packages/upload/src/edit.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui/packages/upload/src/table.svg b/ui/packages/upload/src/table.svg
deleted file mode 100644
index a56f1963a4..0000000000
--- a/ui/packages/upload/src/table.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui/packages/upload/src/video.svg b/ui/packages/upload/src/video.svg
deleted file mode 100644
index 4fec77c76b..0000000000
--- a/ui/packages/upload/src/video.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/ui/packages/video/package.json b/ui/packages/video/package.json
index 67543f11dd..06559184c7 100644
--- a/ui/packages/video/package.json
+++ b/ui/packages/video/package.json
@@ -9,6 +9,7 @@
"private": true,
"dependencies": {
"@gradio/atoms": "workspace:^0.0.1",
+ "@gradio/icons": "workspace:^0.0.1",
"@gradio/image": "workspace:^0.0.1",
"@gradio/upload": "workspace:^0.0.1"
}
diff --git a/ui/packages/video/src/StaticVideo.svelte b/ui/packages/video/src/StaticVideo.svelte
index e913b400ce..9a60712102 100644
--- a/ui/packages/video/src/StaticVideo.svelte
+++ b/ui/packages/video/src/StaticVideo.svelte
@@ -2,8 +2,7 @@
import { createEventDispatcher } from "svelte";
import { Block, BlockLabel } from "@gradio/atoms";
import type { FileData } from "@gradio/upload";
-
- import video_icon from "./video.svg";
+ import { Video } from "@gradio/icons";
export let value: FileData | null = null;
export let label: string | undefined = undefined;
@@ -20,10 +19,10 @@
$: value && dispatch("change", value);
-
+
{#if value === null}
-
![]({video_icon})
+
{:else}
diff --git a/ui/packages/video/src/Video.svelte b/ui/packages/video/src/Video.svelte
index c8a4e6597e..f35d719934 100644
--- a/ui/packages/video/src/Video.svelte
+++ b/ui/packages/video/src/Video.svelte
@@ -4,9 +4,9 @@
import type { FileData } from "@gradio/upload";
import { Block, BlockLabel } from "@gradio/atoms";
import { Webcam } from "@gradio/image";
+ import { Video } from "@gradio/icons";
import { prettyBytes, playable } from "./utils";
- import video_icon from "./video.svg";
export let value: FileData | null = null;
export let source: string;
@@ -42,7 +42,7 @@
$: dispatch("drag", dragging);
-
+
{#if value === null}
{#if source === "upload"}