Skip to content

Commit 5383066

Browse files
committed
fix
1 parent b0b6a24 commit 5383066

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytorch_lightning/callbacks/progress/rich_progress.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
from pytorch_lightning.utilities.exceptions import MisconfigurationException
2222
from pytorch_lightning.utilities.imports import _RICH_AVAILABLE
2323

24-
Task, Style = None, None
24+
Task, Style, Console = None, None, None
25+
2526
if _RICH_AVAILABLE:
2627
from rich.console import Console, RenderableType
2728
from rich.progress import BarColumn, Progress, ProgressColumn, Task, TaskID, TextColumn

0 commit comments

Comments
 (0)