-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
41 lines (37 loc) · 1.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ux by tfjs</title>
<style>
html,
body,
vaadin-split-layout {
margin: 0;
height: 100%;
}
</style>
<!-- Include the "lumo-color" style module -->
<custom-style>
<style include="lumo-color lumo-typography"></style>
</custom-style>
</head>
<body>
<!-- Does not load properly using ES6 import, so we do it the classic way -->
<script src="lib/tf.js"></script>
<script>
console.log(tf.version);
</script>
<script src="lib/tfjs-vis.min.js"></script>
<script type="module" src='index.js'></script>
<section theme="light">
<ux-demo></ux-demo>
<div style="text-align:center">
<label for="json">Choose model structure</label>
<input type="file" id='json-upload'>
<label for="json">Choose model weights</label>
<input type="file" id='weights-upload'>
</div>
</section>
</body>
</html>