diff --git a/examples/server/public/index.html b/examples/server/public/index.html index 740154262..1621a07fd 100644 --- a/examples/server/public/index.html +++ b/examples/server/public/index.html @@ -424,17 +424,21 @@ const popoverChildren = html`
${completion_probabilities.map((cp, i) => { - return cp.probs.map((p, j) => { - return html` -
- ${p.tok_str}: - ${p.prob} -
- ` - }) + return html` +
+ ${cp.probs.map((p, j) => { + return html` +
+ ${p.tok_str}: + ${p.prob} +
+ ` + })} +
+ ` })}
`