Commit
โข
c313758
1
Parent(s):
b2a43a2
๐ Fix URLs
Browse files- app.ts +5 -5
- dist/app.js +5 -5
app.ts
CHANGED
@@ -3,11 +3,11 @@ import { createRepo, commit, CommitFile, whoAmI } from "@huggingface/hub";
|
|
3 |
const c = console;
|
4 |
|
5 |
const FILES_TO_UPLOAD = [
|
6 |
-
`${window.location.origin}
|
7 |
-
`${window.location.origin}
|
8 |
-
`${window.location.origin}
|
9 |
-
`${window.location.origin}
|
10 |
-
`${window.location.origin}
|
11 |
];
|
12 |
|
13 |
function filenameFromURL(url: string): string {
|
|
|
3 |
const c = console;
|
4 |
|
5 |
const FILES_TO_UPLOAD = [
|
6 |
+
`${window.location.origin}/mobilenet/model.json`,
|
7 |
+
`${window.location.origin}/mobilenet/group1-shard1of2`,
|
8 |
+
`${window.location.origin}/mobilenet/group1-shard2of2`,
|
9 |
+
`${window.location.origin}/mobilenet/coffee.jpg`,
|
10 |
+
`${window.location.origin}/mobilenet/README.md`,
|
11 |
];
|
12 |
|
13 |
function filenameFromURL(url: string): string {
|
dist/app.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import { createRepo, commit, whoAmI } from "@huggingface/hub";
|
2 |
const c = console;
|
3 |
const FILES_TO_UPLOAD = [
|
4 |
-
`${window.location.origin}
|
5 |
-
`${window.location.origin}
|
6 |
-
`${window.location.origin}
|
7 |
-
`${window.location.origin}
|
8 |
-
`${window.location.origin}
|
9 |
];
|
10 |
function filenameFromURL(url) {
|
11 |
return url.substring(url.lastIndexOf("/") + 1);
|
|
|
1 |
import { createRepo, commit, whoAmI } from "@huggingface/hub";
|
2 |
const c = console;
|
3 |
const FILES_TO_UPLOAD = [
|
4 |
+
`${window.location.origin}/mobilenet/model.json`,
|
5 |
+
`${window.location.origin}/mobilenet/group1-shard1of2`,
|
6 |
+
`${window.location.origin}/mobilenet/group1-shard2of2`,
|
7 |
+
`${window.location.origin}/mobilenet/coffee.jpg`,
|
8 |
+
`${window.location.origin}/mobilenet/README.md`,
|
9 |
];
|
10 |
function filenameFromURL(url) {
|
11 |
return url.substring(url.lastIndexOf("/") + 1);
|