Skip to content

Commit

Permalink
Chapter 6 lab - a couple of fix (#228)
Browse files Browse the repository at this point in the history
* indent yaml file

* fix a couple of typo
  • Loading branch information
youngroklee-ml authored Feb 3, 2024
1 parent b474a28 commit 2d82044
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chapters/sec1/1-5-deployments.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ You'll also need to add a workflow to GitHub Actions to install Python
and the necessary Python packages from the `requirements.txt`.

``` {.yml filename=".github/workflows/publish.yml"}
- name: Install Python and Dependencies
- name: Install Python and Dependencies
uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand Down
4 changes: 2 additions & 2 deletions chapters/sec1/1-6-docker.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ import vetiver
import pins
b = pins.board_folder('./model', allow_pickle_read=True)
b = pins.board_folder('/data/model', allow_pickle_read=True)
v = VetiverModel.from_pin(b, 'penguin_model', version = '20230422T102952Z-cb1f9')
vetiver_api = vetiver.VetiverAPI(v)
Expand All @@ -384,7 +384,7 @@ docker run --rm -d \
-p 8080:8080 \
--name penguin-model \
-v /data/model:/data/model \
penguin-model-local
penguin-model
```

Now you should be able to get your model up in no time.
Expand Down

0 comments on commit 2d82044

Please sign in to comment.