Skip to content

Commit 9dc2fcf

Browse files
authored
Add jupyter cell for deep_phonemizer (#2060)
1 parent 4f5d6bb commit 9dc2fcf

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
'gallery_dirs': ['beginner', 'intermediate', 'advanced', 'recipes', 'prototype'],
9090
'filename_pattern': '.py',
9191
'ignore_pattern': re.compile(f"({'|'.join(NOT_RUN)}).py$"),
92+
'promote_jupyter_magic': True,
9293
'backreferences_dir': None
9394
}
9495

intermediate_source/text_to_speech_with_torchaudio.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
88
"""
99

10-
# %matplotlib inline
11-
12-
1310
######################################################################
1411
# Overview
1512
# --------
@@ -52,8 +49,11 @@
5249
# encoding.
5350
#
5451

55-
# When running this example in notebook, install DeepPhonemizer
56-
# !pip3 install deep_phonemizer
52+
# %%
53+
# .. code-block:: bash
54+
#
55+
# %%bash
56+
# pip3 install deep_phonemizer
5757

5858
import torch
5959
import torchaudio

0 commit comments

Comments
 (0)