Skip to content

Commit be89680

Browse files
committed
update
1 parent 6919de5 commit be89680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/pytorch/callbacks/progress/rich_progress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def _init_progress(self, trainer: "pl.Trainer") -> None:
340340
# both old and new Rich versions.
341341
if hasattr(self._console, "_live_stack"):
342342
if len(self._console._live_stack) > 0:
343-
self._console._live_stack.clear()
343+
self._console.clear_live()
344344
else:
345345
self._console.clear_live()
346346

0 commit comments

Comments
 (0)