Skip to content

Commit 0bfa7c4

Browse files
committed
text tqdm.
1 parent 4f30a8a commit 0bfa7c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

intermediate_source/speech_command_recognition_with_torchaudio_tutorial.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@
3333

3434
import matplotlib.pyplot as plt
3535
import IPython.display as ipd
36-
from tqdm.notebook import tqdm
36+
37+
try:
38+
from tqdm.notebook import tqdm
39+
except:
40+
from tqdm import tqdm
3741

3842

3943
######################################################################

0 commit comments

Comments
 (0)