ngxson HF staff commited on
Commit
d309eb9
β€’
1 Parent(s): 20289ef
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ /source
README.md CHANGED
@@ -7,6 +7,10 @@ sdk: static
7
  pinned: true
8
  short_description: Run GGUF directly on your browser!
9
  license: mit
 
 
 
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
7
  pinned: true
8
  short_description: Run GGUF directly on your browser!
9
  license: mit
10
+ custom_headers:
11
+ cross-origin-embedder-policy: require-corp
12
+ cross-origin-opener-policy: same-origin
13
+ cross-origin-resource-policy: cross-origin
14
  ---
15
 
16
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
assets/{index-YMvdcJxd.js β†’ index-C62L0T_M.js} RENAMED
The diff for this file is too large to render. See raw diff
 
assets/{index-CA42MaHI.css β†’ index-SYcnvsSN.css} RENAMED
The diff for this file is too large to render. See raw diff
 
build.sh ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ set -e
4
+
5
+ if [ ! -d "./source" ]; then
6
+ git clone https://github.com/ngxson/wllama.git source
7
+ cd source
8
+ else
9
+ cd source
10
+ git pull
11
+ fi
12
+
13
+ cd examples/main
14
+ npm i
15
+ npm run build
16
+
17
+ cd ../../..
18
+ rm -rf assets
19
+ cp -r ./source/examples/main/dist/* .
index.html CHANGED
@@ -5,8 +5,8 @@
5
  <link rel="icon" type="image/svg+xml" href="./wllama.png" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
  <title>wllama</title>
8
- <script type="module" crossorigin src="./assets/index-YMvdcJxd.js"></script>
9
- <link rel="stylesheet" crossorigin href="./assets/index-CA42MaHI.css">
10
  </head>
11
  <body>
12
  <div id="root"></div>
 
5
  <link rel="icon" type="image/svg+xml" href="./wllama.png" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
  <title>wllama</title>
8
+ <script type="module" crossorigin src="./assets/index-C62L0T_M.js"></script>
9
+ <link rel="stylesheet" crossorigin href="./assets/index-SYcnvsSN.css">
10
  </head>
11
  <body>
12
  <div id="root"></div>