Skip to content

Commit d5ce552

Browse files
authored
[docs] Build Jax notebooks for real (huggingface#2641)
build jax notebooks for real
1 parent 1a7e9f1 commit d5ce552

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/build_documentation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
with:
1414
commit_sha: ${{ github.sha }}
1515
package: diffusers
16+
notebook_folder: diffusers_doc
1617
languages: en ko
1718
secrets:
1819
token: ${{ secrets.HUGGINGFACE_PUSH }}

docs/source/_config.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# docstyle-ignore
2+
INSTALL_CONTENT = """
3+
# Diffusers installation
4+
! pip install diffusers transformers datasets accelerate
5+
# To install from source instead of the last release, comment the command above and uncomment the following one.
6+
# ! pip install git+https://github.com/huggingface/diffusers.git
7+
"""
8+
9+
notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}]

0 commit comments

Comments
 (0)