Skip to content

Commit

Permalink
Change tqdm import to tqdm.auto
Browse files Browse the repository at this point in the history
  • Loading branch information
izmac authored and izmac committed Feb 6, 2024
1 parent 7f03de0 commit 800de8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmap_ninja/src/mmap_ninja/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 800de8a

Please sign in to comment.