Skip to content

Commit

Permalink
Merge pull request #15 from ichko/tqdm.auto
Browse files Browse the repository at this point in the history
Better progress bar for notebooks
  • Loading branch information
hristo-vrigazov authored Feb 6, 2024
2 parents 7f03de0 + 800de8a commit b46ae89
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 b46ae89

Please sign in to comment.