smartdigitalnetworks commited on
Commit
ce4c9c6
·
verified ·
1 Parent(s): 81143ee

Upload 4 files

Browse files
Files changed (4) hide show
  1. build.sh +19 -0
  2. favicon.ico +0 -0
  3. index.html +12 -17
  4. wllama.png +0 -0
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/* .
favicon.ico ADDED
index.html CHANGED
@@ -1,19 +1,14 @@
1
  <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
  </html>
 
1
  <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-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-D46V7e91.js"></script>
9
+ <link rel="stylesheet" crossorigin href="./assets/index-56qKajhL.css">
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ </body>
 
 
 
 
 
14
  </html>
wllama.png ADDED