diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 45e2177466d..fbbe1c24fac 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,7 +3,6 @@ name: Docs on: pull_request: paths: - - "**.ipynb" - "docs/mkdocs.yml" # Publish docs weekly schedule: @@ -38,10 +37,6 @@ jobs: - name: add mybinder link run: | python3 tools/scripts/add_online_runner.py - - name: run Notebooks - run: | - cd jupyter - bash test_notebook.sh - name: clone demos run: | cd docs @@ -50,6 +45,10 @@ jobs: run: | cd docs git clone https://github.com/deepjavalibrary/djl-serving.git serving + - name: run Notebooks + run: | + cd docs/demos/jupyter + bash test_notebook.sh - name: build docs run: | cd docs diff --git a/api/src/main/java/ai/djl/inference/Predictor.java b/api/src/main/java/ai/djl/inference/Predictor.java index 853b30d7a5e..d9b20e3ef9e 100644 --- a/api/src/main/java/ai/djl/inference/Predictor.java +++ b/api/src/main/java/ai/djl/inference/Predictor.java @@ -60,14 +60,13 @@ * *
See: * *