[skip ci] Lint fix

This commit is contained in:
Cohee
2024-02-07 19:28:34 +02:00
parent b244a1c301
commit c3129da879
8 changed files with 9 additions and 9 deletions

View File

@@ -674,7 +674,7 @@ export function parseNovelAILogprobs(data) {
// them with a logprob of -Infinity (0% probability)
const notInAfter = befores
.filter(([id]) => !afters.some(([aid]) => aid === id))
.map(([id]) => [id, -Infinity])
.map(([id]) => [id, -Infinity]);
const merged = afters.concat(notInAfter);
// Add the chosen token to `merged` if it's not already there. This can