using underscore instead of spaces in result obj

This commit is contained in:
Karma Riuk
2025-05-11 09:34:40 +02:00
parent 91ffbc467e
commit f03e95cd58
2 changed files with 5 additions and 5 deletions

View File

@ -59,8 +59,8 @@ document.getElementById("upload-btn").onclick = async () => {
const scoreCell = row.insertCell(); // cell 3: bleu score
idCell.textContent = id;
commentCell.innerHTML = `<span class='comment-cell'>${info["proposed comment"]}</span>`;
scoreCell.textContent = info["max bleu score"].toFixed(4);
commentCell.innerHTML = `<span class='comment-cell'>${info["proposed_comment"]}</span>`;
scoreCell.textContent = info["max_bleu_score"].toFixed(4);
});
};