Spaces:
Running
Running
Commit
·
791fff8
1
Parent(s):
e0d4ec0
⬆️ Upgrade @huggingface/hub
Browse files- dist/app.js +1 -1
- package-lock.json +7 -20
- package.json +1 -2
dist/app.js
CHANGED
@@ -23,7 +23,7 @@ window.document.addEventListener("DOMContentLoaded", () => {
|
|
23 |
}
|
24 |
repoNameEl.value = `tfjs-mobilenet-${Date.now() % 1_000}`;
|
25 |
/// "random" repo name
|
26 |
-
form.addEventListener("submit", async
|
27 |
event.preventDefault();
|
28 |
const token = tokenEl.value;
|
29 |
const repoName = repoNameEl.value;
|
|
|
23 |
}
|
24 |
repoNameEl.value = `tfjs-mobilenet-${Date.now() % 1_000}`;
|
25 |
/// "random" repo name
|
26 |
+
form.addEventListener("submit", async (event) => {
|
27 |
event.preventDefault();
|
28 |
const token = tokenEl.value;
|
29 |
const repoName = repoNameEl.value;
|
package-lock.json
CHANGED
@@ -9,19 +9,18 @@
|
|
9 |
"version": "1.0.0",
|
10 |
"license": "ISC",
|
11 |
"dependencies": {
|
12 |
-
"@huggingface/hub": "^0.
|
13 |
},
|
14 |
"devDependencies": {
|
15 |
-
"@types/node": "^18.15.3",
|
16 |
"prettier": "^2.8.5",
|
17 |
"tailwindcss": "^3.2.7",
|
18 |
"typescript": "^5.0.2"
|
19 |
}
|
20 |
},
|
21 |
"node_modules/@huggingface/hub": {
|
22 |
-
"version": "0.
|
23 |
-
"resolved": "https://registry.npmjs.org/@huggingface/hub/-/hub-0.
|
24 |
-
"integrity": "sha512-
|
25 |
"dependencies": {
|
26 |
"hash-wasm": "^4.9.0",
|
27 |
"type-fest": "^3.5.6"
|
@@ -65,12 +64,6 @@
|
|
65 |
"node": ">= 8"
|
66 |
}
|
67 |
},
|
68 |
-
"node_modules/@types/node": {
|
69 |
-
"version": "18.15.3",
|
70 |
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.3.tgz",
|
71 |
-
"integrity": "sha512-p6ua9zBxz5otCmbpb5D3U4B5Nanw6Pk3PPyX05xnxbB/fRv71N7CPmORg7uAD5P70T0xmx1pzAx/FUfa5X+3cw==",
|
72 |
-
"dev": true
|
73 |
-
},
|
74 |
"node_modules/acorn": {
|
75 |
"version": "7.4.1",
|
76 |
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
|
@@ -866,9 +859,9 @@
|
|
866 |
},
|
867 |
"dependencies": {
|
868 |
"@huggingface/hub": {
|
869 |
-
"version": "0.
|
870 |
-
"resolved": "https://registry.npmjs.org/@huggingface/hub/-/hub-0.
|
871 |
-
"integrity": "sha512-
|
872 |
"requires": {
|
873 |
"hash-wasm": "^4.9.0",
|
874 |
"type-fest": "^3.5.6"
|
@@ -900,12 +893,6 @@
|
|
900 |
"fastq": "^1.6.0"
|
901 |
}
|
902 |
},
|
903 |
-
"@types/node": {
|
904 |
-
"version": "18.15.3",
|
905 |
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.3.tgz",
|
906 |
-
"integrity": "sha512-p6ua9zBxz5otCmbpb5D3U4B5Nanw6Pk3PPyX05xnxbB/fRv71N7CPmORg7uAD5P70T0xmx1pzAx/FUfa5X+3cw==",
|
907 |
-
"dev": true
|
908 |
-
},
|
909 |
"acorn": {
|
910 |
"version": "7.4.1",
|
911 |
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
|
|
|
9 |
"version": "1.0.0",
|
10 |
"license": "ISC",
|
11 |
"dependencies": {
|
12 |
+
"@huggingface/hub": "^0.3.0"
|
13 |
},
|
14 |
"devDependencies": {
|
|
|
15 |
"prettier": "^2.8.5",
|
16 |
"tailwindcss": "^3.2.7",
|
17 |
"typescript": "^5.0.2"
|
18 |
}
|
19 |
},
|
20 |
"node_modules/@huggingface/hub": {
|
21 |
+
"version": "0.3.0",
|
22 |
+
"resolved": "https://registry.npmjs.org/@huggingface/hub/-/hub-0.3.0.tgz",
|
23 |
+
"integrity": "sha512-0XQchJ+7sFVyOAo5FQujDkTC0ML+0XSNRHj/ucmJGhhPj8wqdY3sIjiBQoTs21RrolV77f37ZbByBpjLh2kovQ==",
|
24 |
"dependencies": {
|
25 |
"hash-wasm": "^4.9.0",
|
26 |
"type-fest": "^3.5.6"
|
|
|
64 |
"node": ">= 8"
|
65 |
}
|
66 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
"node_modules/acorn": {
|
68 |
"version": "7.4.1",
|
69 |
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
|
|
|
859 |
},
|
860 |
"dependencies": {
|
861 |
"@huggingface/hub": {
|
862 |
+
"version": "0.3.0",
|
863 |
+
"resolved": "https://registry.npmjs.org/@huggingface/hub/-/hub-0.3.0.tgz",
|
864 |
+
"integrity": "sha512-0XQchJ+7sFVyOAo5FQujDkTC0ML+0XSNRHj/ucmJGhhPj8wqdY3sIjiBQoTs21RrolV77f37ZbByBpjLh2kovQ==",
|
865 |
"requires": {
|
866 |
"hash-wasm": "^4.9.0",
|
867 |
"type-fest": "^3.5.6"
|
|
|
893 |
"fastq": "^1.6.0"
|
894 |
}
|
895 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
896 |
"acorn": {
|
897 |
"version": "7.4.1",
|
898 |
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
|
package.json
CHANGED
@@ -9,10 +9,9 @@
|
|
9 |
"author": "",
|
10 |
"license": "ISC",
|
11 |
"dependencies": {
|
12 |
-
"@huggingface/hub": "^0.
|
13 |
},
|
14 |
"devDependencies": {
|
15 |
-
"@types/node": "^18.15.3",
|
16 |
"prettier": "^2.8.5",
|
17 |
"tailwindcss": "^3.2.7",
|
18 |
"typescript": "^5.0.2"
|
|
|
9 |
"author": "",
|
10 |
"license": "ISC",
|
11 |
"dependencies": {
|
12 |
+
"@huggingface/hub": "^0.3.0"
|
13 |
},
|
14 |
"devDependencies": {
|
|
|
15 |
"prettier": "^2.8.5",
|
16 |
"tailwindcss": "^3.2.7",
|
17 |
"typescript": "^5.0.2"
|