Skip to content

Commit

Permalink
autoswitch tqdm for notebooks (lucidrains#171)
Browse files Browse the repository at this point in the history
avoids printing the `tqdm` progress bar to a newline in notebooks when detected
  • Loading branch information
nousr authored Jun 25, 2022
1 parent 98f0c17 commit c453f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dalle2_pytorch/dalle2_pytorch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import math
import random
from tqdm import tqdm
from tqdm.auto import tqdm
from functools import partial, wraps
from contextlib import contextmanager
from collections import namedtuple
Expand Down

0 comments on commit c453f46

Please sign in to comment.