From 800de8a0801ea12aec641cf57456692dc2f6be19 Mon Sep 17 00:00:00 2001 From: izmac Date: Tue, 6 Feb 2024 15:49:48 +0200 Subject: [PATCH] Change tqdm import to tqdm.auto --- mmap_ninja/src/mmap_ninja/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmap_ninja/src/mmap_ninja/base.py b/mmap_ninja/src/mmap_ninja/base.py index 6ad5b30..e445bd2 100644 --- a/mmap_ninja/src/mmap_ninja/base.py +++ b/mmap_ninja/src/mmap_ninja/base.py @@ -203,7 +203,7 @@ def from_generator_base(out_dir, sample_generator, batch_size, batch_ctor, exten samples = [] memmap = None if kwargs.pop("verbose", False): - from tqdm import tqdm + from tqdm.auto import tqdm sample_generator = tqdm(sample_generator) for sample in sample_generator: