-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (63 loc) · 3.31 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<!-- ONNX Web WASM Runtime-->
<title>SIMS Web</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col">
<div class="mb-3 mt-3">
<h2 class="mb-3" style="font-weight: 300">SIMS Web </h2>
<div class="form-group mb-3">
<label for="model_select">Select a model:</label>
<select class="form-control" id="model_select">
<option value="">Loading...</option>
</select>
</div>
<div class="form-group mb-3">
<label for="file_input">Select an Raw 10x (.h5) or AnnData/Scanpy (.h5ad) file</label>
<div class="custom-file">
<input type="file" class="custom-file-input" name="file_input" id="file_input"
accept=".h5, .h5ad">
<label id="file_input_label" class="custom-file-label" for="image">Select an Raw 10x (.h5) or
AnnData/Scanpy (.h5ad) file</label>
</div>
</div>
<div class="form-group">
<label for="cellRange">% Of Cells To Process:</label>
<input type="range" class="custom-range" id="cellRange" min="0" max="100" step="1" value="1">
<small id="cellRangeValue" class="form-text text-muted">1%</small>
</div>
<button id="predict_btn" class="btn btn-primary" autofocus>Predict</button>
<button id="stop_btn" class="btn btn-danger">Stop</button>
</div>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"
id="progress-bar"></div>
</div>
<div id="elapsed-time"></div>
<div id="results">
</div>
</div>
</div>
</div>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.min.js"></script>
<script type="module" src="main.js"></script>
</body>
</html>