-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnico.html
More file actions
31 lines (29 loc) · 1.21 KB
/
nico.html
File metadata and controls
31 lines (29 loc) · 1.21 KB
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
<!-- { "cervicitis":"yes/no", "HPV 18": "yes/no", "Transformation Zone/Endocervical Glands","Present/Absent" } -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://episphere.github.io/gemini/gem.css" rel="stylesheet">
<div>
<h1>
<sup style="color:gray">(mostly)</sup>
Cervical Path Reports
</h1>
Generating latent space for cervical pathology reports using generative AI [<a href="https://github.com/episphere/gemini/wiki/Nico" target="_blank">docs</a>].
</div>
<button id="loadNico">Load pathology reports</button>
<div id="msgDiv">...</div>
<script>
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
msg = async function(x,color='blue') {
for (let i = 0; i < x.length+1; i++) {
await sleep(50)
msgDiv.innerHTML = x.slice(0,i)
msgDiv.style.color=color
}
}
loadNico.onclick = async function() {
//console.log(`loadNico at ${Date()}`);
msg('Loading pathology reports')
txt = await(await fetch('https://raw.githubusercontent.com/episphere/gemini/main/doc/Electronic%20path%20data%20example(Sheet1).csv')).text()
}
</script>