diff --git a/src/simulated_bifurcation/optimizer/simulated_bifurcation_optimizer.py b/src/simulated_bifurcation/optimizer/simulated_bifurcation_optimizer.py index 3df26b8..d4e7863 100644 --- a/src/simulated_bifurcation/optimizer/simulated_bifurcation_optimizer.py +++ b/src/simulated_bifurcation/optimizer/simulated_bifurcation_optimizer.py @@ -5,7 +5,7 @@ import torch from numpy import minimum -from tqdm import tqdm +from tqdm.auto import tqdm from .environment import ENVIRONMENT from .simulated_bifurcation_engine import SimulatedBifurcationEngine diff --git a/src/simulated_bifurcation/optimizer/stop_window.py b/src/simulated_bifurcation/optimizer/stop_window.py index 892b313..1829916 100644 --- a/src/simulated_bifurcation/optimizer/stop_window.py +++ b/src/simulated_bifurcation/optimizer/stop_window.py @@ -1,7 +1,7 @@ from typing import Tuple, Union import torch -from tqdm import tqdm +from tqdm.auto import tqdm class StopWindow: