[docs] Build notebooks from Markdown (#2570)
* 📝 add mechanism for building colab notebook
* 🖍 add notebooks to correct folder
* 🖍 fix folder name
This commit is contained in:
parent
d2a5247a1f
commit
78507bda24
|
@ -13,6 +13,7 @@ jobs:
|
|||
with:
|
||||
commit_sha: ${{ github.sha }}
|
||||
package: diffusers
|
||||
notebook_folder: diffusers_doc
|
||||
languages: en ko
|
||||
secrets:
|
||||
token: ${{ secrets.HUGGINGFACE_PUSH }}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
# docstyle-ignore
|
||||
INSTALL_CONTENT = """
|
||||
# Diffusers installation
|
||||
! pip install diffusers transformers datasets accelerate
|
||||
# To install from source instead of the last release, comment the command above and uncomment the following one.
|
||||
# ! pip install git+https://github.com/huggingface/diffusers.git
|
||||
"""
|
||||
|
||||
notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}]
|
Loading…
Reference in New Issue