Update index.html
Browse files- index.html +4 -2
index.html
CHANGED
@@ -24,13 +24,15 @@
|
|
24 |
// Decode the output text
|
25 |
const decodedOutput = tokenizer.decode(output.arraySync()[0], { skipSpecialTokens: true });
|
26 |
|
27 |
-
// Display the output text in the HTML page
|
28 |
document.getElementById("goals").innerHTML = decodedOutput;
|
|
|
29 |
}
|
30 |
</script>
|
31 |
</head>
|
32 |
<body onload="generateGoals()">
|
33 |
<h1>Goals of the World Health Organization</h1>
|
34 |
<p id="goals">Loading...</p>
|
|
|
35 |
</body>
|
36 |
-
</html>
|
|
|
24 |
// Decode the output text
|
25 |
const decodedOutput = tokenizer.decode(output.arraySync()[0], { skipSpecialTokens: true });
|
26 |
|
27 |
+
// Display the output text and link to the WHO website in the HTML page
|
28 |
document.getElementById("goals").innerHTML = decodedOutput;
|
29 |
+
document.getElementById("wholink").href = "https://www.who.int/about/mission/en/";
|
30 |
}
|
31 |
</script>
|
32 |
</head>
|
33 |
<body onload="generateGoals()">
|
34 |
<h1>Goals of the World Health Organization</h1>
|
35 |
<p id="goals">Loading...</p>
|
36 |
+
<a id="wholink" href="#">Learn more about the WHO</a>
|
37 |
</body>
|
38 |
+
</html>
|