diff --git a/skore-hub-project/src/skore_hub_project/project/project.py b/skore-hub-project/src/skore_hub_project/project/project.py index 600feeb42a..4df53aa3b2 100644 --- a/skore-hub-project/src/skore_hub_project/project/project.py +++ b/skore-hub-project/src/skore_hub_project/project/project.py @@ -17,6 +17,7 @@ from joblib import load as joblib_load from rich.progress import Progress, SpinnerColumn, TextColumn, TimeElapsedColumn from sklearn.utils.validation import _check_pos_label_consistency +from skore import THREADABLE from skore_hub_project import console, switch_plt_backend from skore_hub_project.client.client import Client, HUBClient @@ -294,6 +295,7 @@ def put(self, key: str, report: EstimatorReport | CrossValidationReport) -> None TextColumn("{task.description}"), TimeElapsedColumn(), console=console, + auto_refresh=THREADABLE, ) as progress, ): task = progress.add_task( diff --git a/skore-hub-project/src/skore_hub_project/report/report.py b/skore-hub-project/src/skore_hub_project/report/report.py index 4fccb37d75..b75594224e 100644 --- a/skore-hub-project/src/skore_hub_project/report/report.py +++ b/skore-hub-project/src/skore_hub_project/report/report.py @@ -10,6 +10,7 @@ from joblib import Parallel, delayed from pydantic import BaseModel, ConfigDict, Field, computed_field from rich.progress import BarColumn, Progress, TextColumn, TimeElapsedColumn +from skore import THREADABLE from skore_hub_project import console from skore_hub_project.artifact.media.media import Media @@ -30,6 +31,7 @@ TimeElapsedColumn(), console=console, transient=True, + auto_refresh=THREADABLE, ) Report = TypeVar("Report", bound=(EstimatorReport | CrossValidationReport))