@gradio/video 0.2.3 → 0.3.0
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 +13 -0
- package/package.json +7 -6
- package/shared/Video.svelte +3 -3
- package/shared/index.ts +1 -0
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# @gradio/video
|
2
2
|
|
3
|
+
## 0.3.0
|
4
|
+
|
5
|
+
### Features
|
6
|
+
|
7
|
+
- [#6133](https://github.com/gradio-app/gradio/pull/6133) [`f742d0e`](https://github.com/gradio-app/gradio/commit/f742d0e861c8e25c5d77d9102c9d50f94b0d3383) - Lite: Support AnnotatedImage on Wasm. Thanks [@whitphx](https://github.com/whitphx)!
|
8
|
+
- [#6897](https://github.com/gradio-app/gradio/pull/6897) [`fb9c6ca`](https://github.com/gradio-app/gradio/commit/fb9c6cacd7ca4598c000f1f97d7d39a8c4463519) - Lite: Chatbot. Thanks [@whitphx](https://github.com/whitphx)!
|
9
|
+
|
10
|
+
## 0.2.4
|
11
|
+
|
12
|
+
### Features
|
13
|
+
|
14
|
+
- [#6854](https://github.com/gradio-app/gradio/pull/6854) [`e528f98`](https://github.com/gradio-app/gradio/commit/e528f98b88f4322f61d315e1770fce0448ca5e26) - chore(deps): update dependency mrmime to v2. Thanks [@renovate](https://github.com/apps/renovate)!
|
15
|
+
|
3
16
|
## 0.2.3
|
4
17
|
|
5
18
|
### Fixes
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/video",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.3.0",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
@@ -10,20 +10,21 @@
|
|
10
10
|
"@ffmpeg/ffmpeg": "^0.12.7",
|
11
11
|
"@ffmpeg/util": "^0.12.1",
|
12
12
|
"@gradio/atoms": "^0.4.1",
|
13
|
+
"@gradio/client": "^0.10.0",
|
13
14
|
"@gradio/icons": "^0.3.2",
|
14
|
-
"@gradio/
|
15
|
-
"@gradio/image": "^0.5.3",
|
15
|
+
"@gradio/image": "^0.6.0",
|
16
16
|
"@gradio/statustracker": "^0.4.3",
|
17
|
+
"@gradio/upload": "^0.5.8",
|
17
18
|
"@gradio/utils": "^0.2.0",
|
18
|
-
"@gradio/
|
19
|
-
"@gradio/wasm": "^0.4.0"
|
19
|
+
"@gradio/wasm": "^0.4.1"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
22
|
-
"mrmime": "^
|
22
|
+
"mrmime": "^2.0.0"
|
23
23
|
},
|
24
24
|
"exports": {
|
25
25
|
".": "./index.ts",
|
26
26
|
"./example": "./Example.svelte",
|
27
|
+
"./shared": "./shared/index.ts",
|
27
28
|
"./package.json": "./package.json"
|
28
29
|
},
|
29
30
|
"main": "index.ts",
|
package/shared/Video.svelte
CHANGED
@@ -21,8 +21,6 @@
|
|
21
21
|
|
22
22
|
export let processingVideo = false;
|
23
23
|
|
24
|
-
const dispatch = createEventDispatcher();
|
25
|
-
|
26
24
|
let resolved_src: typeof src;
|
27
25
|
|
28
26
|
// The `src` prop can be updated before the Promise from `resolve_wasm_src` is resolved.
|
@@ -32,7 +30,7 @@
|
|
32
30
|
$: {
|
33
31
|
// In normal (non-Wasm) Gradio, the `<img>` element should be rendered with the passed `src` props immediately
|
34
32
|
// without waiting for `resolve_wasm_src()` to resolve.
|
35
|
-
// If it waits, a
|
33
|
+
// If it waits, a blank element is displayed until the async task finishes
|
36
34
|
// and it leads to undesirable flickering.
|
37
35
|
// So set `src` to `resolved_src` here.
|
38
36
|
resolved_src = src;
|
@@ -45,6 +43,8 @@
|
|
45
43
|
}
|
46
44
|
});
|
47
45
|
}
|
46
|
+
|
47
|
+
const dispatch = createEventDispatcher();
|
48
48
|
</script>
|
49
49
|
|
50
50
|
<!--
|
package/shared/index.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Video } from "./Video.svelte";
|