forked from seeschweiler/tensorflow_js_2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (37 loc) · 1.32 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
<html>
<body>
<style>
.prediction-canvas{
width: 100px;
margin: 20px;
}
.prediction-div{
display: inline-block;
margin: 10px;
}
</style>
<div class="container" style="padding-top: 20px">
<div class="card">
<div class="card-header">
<strong>TensorFlow.js Demo - Handwriting Recognition</strong>
</div>
<div class="card-body">
<div class="card">
<div class="card-body">
<h5 class="card-title">Log Output:</h5>
<div id="log"></div>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title">Predict</h5>
<button type="button" class="btn btn-primary" id="selectTestDataButton" disabled>Please wait until model is ready ...</button>
<div id="predictionResult"></div>
</div>
</div>
</div>
</div>
</div>
<script src="./index.js"></script>
</body>
</html>