@gradio/image 0.12.1 → 0.12.2

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @gradio/image
2
2
 
3
+ ## 0.12.2
4
+
5
+ ### Fixes
6
+
7
+ - [#8737](https://github.com/gradio-app/gradio/pull/8737) [`31a876d`](https://github.com/gradio-app/gradio/commit/31a876d0274d7b74a90d30148f3e9c098f486242) - Fix `Share to community` button for images. Thanks @hannahblair!
8
+
9
+ ### Dependency updates
10
+
11
+ - @gradio/atoms@0.7.6
12
+ - @gradio/utils@0.5.1
13
+ - @gradio/statustracker@0.7.1
14
+ - @gradio/client@1.3.0
15
+ - @gradio/upload@0.11.5
16
+ - @gradio/icons@0.6.0
17
+
3
18
  ## 0.12.1
4
19
 
5
20
  ### Dependency updates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradio/image",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "description": "Gradio UI packages",
5
5
  "type": "module",
6
6
  "author": "",
@@ -10,16 +10,16 @@
10
10
  "cropperjs": "^1.5.12",
11
11
  "lazy-brush": "^1.0.1",
12
12
  "resize-observer-polyfill": "^1.5.1",
13
- "@gradio/atoms": "^0.7.5",
14
- "@gradio/client": "^1.2.1",
15
- "@gradio/icons": "^0.5.0",
16
- "@gradio/statustracker": "^0.7.0",
17
- "@gradio/utils": "^0.5.0",
18
- "@gradio/wasm": "^0.11.0",
19
- "@gradio/upload": "^0.11.4"
13
+ "@gradio/atoms": "^0.7.6",
14
+ "@gradio/client": "^1.3.0",
15
+ "@gradio/icons": "^0.6.0",
16
+ "@gradio/statustracker": "^0.7.1",
17
+ "@gradio/utils": "^0.5.1",
18
+ "@gradio/upload": "^0.11.5",
19
+ "@gradio/wasm": "^0.11.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@gradio/preview": "^0.10.0"
22
+ "@gradio/preview": "^0.10.1"
23
23
  },
24
24
  "main_changeset": true,
25
25
  "main": "./Index.svelte",
@@ -54,7 +54,7 @@
54
54
  on:error
55
55
  formatter={async (value) => {
56
56
  if (!value) return "";
57
- let url = await uploadToHuggingFace(value, "base64");
57
+ let url = await uploadToHuggingFace(value, "url");
58
58
  return `<img src="${url}" />`;
59
59
  }}
60
60
  {value}