@gradio/video 0.1.0-beta.9 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -10
- package/Index.svelte +3 -3
- package/Video.test.ts +8 -8
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
@@ -1,26 +1,46 @@
|
|
1
1
|
# @gradio/video
|
2
2
|
|
3
|
+
## 0.1.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies [[`2ba14b284`](https://github.com/gradio-app/gradio/commit/2ba14b284f908aa13859f4337167a157075a68eb)]:
|
8
|
+
- @gradio/client@0.7.1
|
9
|
+
- @gradio/image@0.3.1
|
10
|
+
- @gradio/upload@0.3.1
|
11
|
+
|
12
|
+
## 0.1.0
|
13
|
+
|
14
|
+
### Features
|
15
|
+
|
16
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
17
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Clean root url. Thanks [@pngwn](https://github.com/pngwn)!
|
18
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Improve Video Component. Thanks [@pngwn](https://github.com/pngwn)!
|
19
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Image v4. Thanks [@pngwn](https://github.com/pngwn)!
|
20
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Publish all components to npm. Thanks [@pngwn](https://github.com/pngwn)!
|
21
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Custom components. Thanks [@pngwn](https://github.com/pngwn)!
|
22
|
+
|
3
23
|
## 0.1.0-beta.9
|
4
24
|
|
5
25
|
### Features
|
6
26
|
|
7
|
-
- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload.
|
8
|
-
- [#6136](https://github.com/gradio-app/gradio/pull/6136) [`667802a6c`](https://github.com/gradio-app/gradio/commit/667802a6cdbfb2ce454a3be5a78e0990b194548a) - JS Component Documentation.
|
9
|
-
- [#6094](https://github.com/gradio-app/gradio/pull/6094) [`c476bd5a5`](https://github.com/gradio-app/gradio/commit/c476bd5a5b70836163b9c69bf4bfe068b17fbe13) - Image v4.
|
10
|
-
- [#6149](https://github.com/gradio-app/gradio/pull/6149) [`90318b1dd`](https://github.com/gradio-app/gradio/commit/90318b1dd118ae08a695a50e7c556226234ab6dc) - swap `mode` on the frontned to `interactive` to match the backend.
|
11
|
-
- [#6118](https://github.com/gradio-app/gradio/pull/6118) [`88bccfdba`](https://github.com/gradio-app/gradio/commit/88bccfdba3df2df4b2747ea5d649ed528047cf50) - Improve Video Component.
|
12
|
-
- [#6140](https://github.com/gradio-app/gradio/pull/6140) [`71bf2702c`](https://github.com/gradio-app/gradio/commit/71bf2702cd5b810c89e2e53452532650acdcfb87) - Fix video.
|
27
|
+
- [#6143](https://github.com/gradio-app/gradio/pull/6143) [`e4f7b4b40`](https://github.com/gradio-app/gradio/commit/e4f7b4b409323b01aa01b39e15ce6139e29aa073) - fix circular dependency with client + upload. Thanks [@pngwn](https://github.com/pngwn)!
|
28
|
+
- [#6136](https://github.com/gradio-app/gradio/pull/6136) [`667802a6c`](https://github.com/gradio-app/gradio/commit/667802a6cdbfb2ce454a3be5a78e0990b194548a) - JS Component Documentation. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
29
|
+
- [#6094](https://github.com/gradio-app/gradio/pull/6094) [`c476bd5a5`](https://github.com/gradio-app/gradio/commit/c476bd5a5b70836163b9c69bf4bfe068b17fbe13) - Image v4. Thanks [@pngwn](https://github.com/pngwn)!
|
30
|
+
- [#6149](https://github.com/gradio-app/gradio/pull/6149) [`90318b1dd`](https://github.com/gradio-app/gradio/commit/90318b1dd118ae08a695a50e7c556226234ab6dc) - swap `mode` on the frontned to `interactive` to match the backend. Thanks [@pngwn](https://github.com/pngwn)!
|
31
|
+
- [#6118](https://github.com/gradio-app/gradio/pull/6118) [`88bccfdba`](https://github.com/gradio-app/gradio/commit/88bccfdba3df2df4b2747ea5d649ed528047cf50) - Improve Video Component. Thanks [@hannahblair](https://github.com/hannahblair)!
|
32
|
+
- [#6140](https://github.com/gradio-app/gradio/pull/6140) [`71bf2702c`](https://github.com/gradio-app/gradio/commit/71bf2702cd5b810c89e2e53452532650acdcfb87) - Fix video. Thanks [@abidlabs](https://github.com/abidlabs)!
|
13
33
|
|
14
34
|
## 0.1.0-beta.8
|
15
35
|
|
16
36
|
### Features
|
17
37
|
|
18
|
-
- [#6016](https://github.com/gradio-app/gradio/pull/6016) [`83e947676`](https://github.com/gradio-app/gradio/commit/83e947676d327ca2ab6ae2a2d710c78961c771a0) - Format js in v4 branch.
|
38
|
+
- [#6016](https://github.com/gradio-app/gradio/pull/6016) [`83e947676`](https://github.com/gradio-app/gradio/commit/83e947676d327ca2ab6ae2a2d710c78961c771a0) - Format js in v4 branch. Thanks [@freddyaboulton](https://github.com/freddyaboulton)!
|
19
39
|
|
20
40
|
### Fixes
|
21
41
|
|
22
|
-
- [#6067](https://github.com/gradio-app/gradio/pull/6067) [`bf38e5f06`](https://github.com/gradio-app/gradio/commit/bf38e5f06a7039be913614901c308794fea83ae0) - remove dupe component.
|
23
|
-
- [#6046](https://github.com/gradio-app/gradio/pull/6046) [`dbb7de5e0`](https://github.com/gradio-app/gradio/commit/dbb7de5e02c53fee05889d696d764d212cb96c74) - fix tests.
|
42
|
+
- [#6067](https://github.com/gradio-app/gradio/pull/6067) [`bf38e5f06`](https://github.com/gradio-app/gradio/commit/bf38e5f06a7039be913614901c308794fea83ae0) - remove dupe component. Thanks [@pngwn](https://github.com/pngwn)!
|
43
|
+
- [#6046](https://github.com/gradio-app/gradio/pull/6046) [`dbb7de5e0`](https://github.com/gradio-app/gradio/commit/dbb7de5e02c53fee05889d696d764d212cb96c74) - fix tests. Thanks [@pngwn](https://github.com/pngwn)!
|
24
44
|
|
25
45
|
## 0.1.0-beta.7
|
26
46
|
|
@@ -150,4 +170,4 @@ Thanks [@pngwn](https://github.com/pngwn)!
|
|
150
170
|
- @gradio/image@0.1.0
|
151
171
|
- @gradio/utils@0.0.2
|
152
172
|
- @gradio/atoms@0.0.2
|
153
|
-
- @gradio/upload@0.0.2
|
173
|
+
- @gradio/upload@0.0.2
|
package/Index.svelte
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
| ["webcam", "upload"]
|
25
25
|
| ["upload", "webcam"];
|
26
26
|
export let root: string;
|
27
|
-
export let
|
27
|
+
export let proxy_url: null | string;
|
28
28
|
export let show_label: boolean;
|
29
29
|
export let loading_status: LoadingStatus;
|
30
30
|
export let height: number | undefined;
|
@@ -82,8 +82,8 @@
|
|
82
82
|
|
83
83
|
$: {
|
84
84
|
if (value != null) {
|
85
|
-
_video = normalise_file(value.video, root,
|
86
|
-
_subtitle = normalise_file(value.subtitles, root,
|
85
|
+
_video = normalise_file(value.video, root, proxy_url);
|
86
|
+
_subtitle = normalise_file(value.subtitles, root, proxy_url);
|
87
87
|
} else {
|
88
88
|
_video = null;
|
89
89
|
_subtitle = null;
|
package/Video.test.ts
CHANGED
@@ -46,7 +46,7 @@ describe("Video", () => {
|
|
46
46
|
},
|
47
47
|
label: "Test Label",
|
48
48
|
root: "foo",
|
49
|
-
|
49
|
+
proxy_url: null,
|
50
50
|
streaming: false,
|
51
51
|
pending: false,
|
52
52
|
name: "bar",
|
@@ -72,7 +72,7 @@ describe("Video", () => {
|
|
72
72
|
},
|
73
73
|
label: "Video Component",
|
74
74
|
root: "foo",
|
75
|
-
|
75
|
+
proxy_url: null,
|
76
76
|
streaming: false,
|
77
77
|
pending: false,
|
78
78
|
name: "bar",
|
@@ -92,7 +92,7 @@ describe("Video", () => {
|
|
92
92
|
}
|
93
93
|
},
|
94
94
|
root: "foo",
|
95
|
-
|
95
|
+
proxy_url: null,
|
96
96
|
streaming: false,
|
97
97
|
pending: false,
|
98
98
|
name: "bar",
|
@@ -117,7 +117,7 @@ describe("Video", () => {
|
|
117
117
|
}
|
118
118
|
},
|
119
119
|
root: "foo",
|
120
|
-
|
120
|
+
proxy_url: null,
|
121
121
|
streaming: false,
|
122
122
|
pending: false,
|
123
123
|
sources: ["upload"],
|
@@ -139,7 +139,7 @@ describe("Video", () => {
|
|
139
139
|
}
|
140
140
|
},
|
141
141
|
root: "foo",
|
142
|
-
|
142
|
+
proxy_url: null,
|
143
143
|
streaming: false,
|
144
144
|
pending: false,
|
145
145
|
sources: ["upload"],
|
@@ -162,7 +162,7 @@ describe("Video", () => {
|
|
162
162
|
}
|
163
163
|
},
|
164
164
|
root: "foo",
|
165
|
-
|
165
|
+
proxy_url: null,
|
166
166
|
streaming: false,
|
167
167
|
pending: false,
|
168
168
|
sources: ["upload"],
|
@@ -193,7 +193,7 @@ describe("Video", () => {
|
|
193
193
|
}
|
194
194
|
},
|
195
195
|
root: "foo",
|
196
|
-
|
196
|
+
proxy_url: null,
|
197
197
|
streaming: false,
|
198
198
|
pending: false,
|
199
199
|
sources: ["upload"],
|
@@ -249,7 +249,7 @@ describe("Video", () => {
|
|
249
249
|
}
|
250
250
|
],
|
251
251
|
root: "foo",
|
252
|
-
|
252
|
+
proxy_url: null,
|
253
253
|
streaming: false,
|
254
254
|
pending: false,
|
255
255
|
sources: ["upload"],
|
package/package.json
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/video",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.1",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
7
7
|
"license": "ISC",
|
8
8
|
"private": false,
|
9
9
|
"dependencies": {
|
10
|
-
"@gradio/atoms": "^0.2.0
|
11
|
-
"@gradio/client": "^0.7.
|
12
|
-
"@gradio/icons": "^0.2.0
|
13
|
-
"@gradio/image": "^0.3.
|
14
|
-
"@gradio/statustracker": "^0.3.0
|
15
|
-
"@gradio/upload": "^0.3.
|
16
|
-
"@gradio/utils": "^0.2.0
|
17
|
-
"@gradio/wasm": "^0.2.0
|
10
|
+
"@gradio/atoms": "^0.2.0",
|
11
|
+
"@gradio/client": "^0.7.1",
|
12
|
+
"@gradio/icons": "^0.2.0",
|
13
|
+
"@gradio/image": "^0.3.1",
|
14
|
+
"@gradio/statustracker": "^0.3.0",
|
15
|
+
"@gradio/upload": "^0.3.1",
|
16
|
+
"@gradio/utils": "^0.2.0",
|
17
|
+
"@gradio/wasm": "^0.2.0"
|
18
18
|
},
|
19
19
|
"exports": {
|
20
20
|
".": "./index.ts",
|