@gradio/dataset 0.1.0-beta.2 → 0.1.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 +9 -0
- package/Index.svelte +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# @gradio/dataset
|
2
2
|
|
3
|
+
## 0.1.0
|
4
|
+
|
5
|
+
### Features
|
6
|
+
|
7
|
+
- [#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)!
|
8
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - pass props to example components and to example outputs. Thanks [@pngwn](https://github.com/pngwn)!
|
9
|
+
- [#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)!
|
10
|
+
- [#5498](https://github.com/gradio-app/gradio/pull/5498) [`287fe6782`](https://github.com/gradio-app/gradio/commit/287fe6782825479513e79a5cf0ba0fbfe51443d7) - Adds the ability to build the frontend and backend of custom components in preparation for publishing to pypi using `gradio_component build`. Thanks [@pngwn](https://github.com/pngwn)!
|
11
|
+
|
3
12
|
## 0.1.0-beta.2
|
4
13
|
|
5
14
|
### Features
|
package/Index.svelte
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
export let visible = true;
|
21
21
|
export let value: number | null = null;
|
22
22
|
export let root: string;
|
23
|
-
export let
|
23
|
+
export let proxy_url: null | string;
|
24
24
|
export let samples_per_page = 10;
|
25
25
|
export let scale: number | null = null;
|
26
26
|
export let min_width: number | undefined = undefined;
|
@@ -29,7 +29,7 @@
|
|
29
29
|
select: SelectData;
|
30
30
|
}>;
|
31
31
|
|
32
|
-
let samples_dir: string = get_fetchable_url_or_file(null, root,
|
32
|
+
let samples_dir: string = get_fetchable_url_or_file(null, root, proxy_url);
|
33
33
|
let page = 0;
|
34
34
|
$: gallery = components.length < 2;
|
35
35
|
let paginate = samples.length > samples_per_page;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@gradio/dataset",
|
3
|
-
"version": "0.1.0
|
3
|
+
"version": "0.1.0",
|
4
4
|
"description": "Gradio UI packages",
|
5
5
|
"type": "module",
|
6
6
|
"author": "",
|
@@ -12,9 +12,9 @@
|
|
12
12
|
"./package.json": "./package.json"
|
13
13
|
},
|
14
14
|
"dependencies": {
|
15
|
-
"@gradio/atoms": "^0.2.0
|
16
|
-
"@gradio/client": "^0.7.0
|
17
|
-
"@gradio/utils": "^0.2.0
|
18
|
-
"@gradio/upload": "^0.3.0
|
15
|
+
"@gradio/atoms": "^0.2.0",
|
16
|
+
"@gradio/client": "^0.7.0",
|
17
|
+
"@gradio/utils": "^0.2.0",
|
18
|
+
"@gradio/upload": "^0.3.0"
|
19
19
|
}
|
20
20
|
}
|