Skip to content

Commit 0675b1d

Browse files
committed
Fixing tqdm
1 parent 3bd7299 commit 0675b1d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

script.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,10 @@ async function runCodeInline() {
249249
const parts = line.split('\r');
250250
const lastPart = parts[parts.length - 1].trim();
251251
if (lastPart) {
252-
cleanLines.push(lastPart);
252+
// Only add tqdm lines that are at 100% (final state)
253+
if (!lastPart.includes('it/s]') || lastPart.trim().startsWith('100%')) {
254+
cleanLines.push(lastPart);
255+
}
253256
}
254257
} else {
255258
const trimmed = line.trim();

0 commit comments

Comments
 (0)