Skip to content

Commit

Permalink
Update vizro-core/docs/pages/user-guides/deploy.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jo Stichbury <[email protected]>
  • Loading branch information
maxschulz-COL and stichbury authored Jan 31, 2025
1 parent e90402b commit 23a6fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vizro-core/docs/pages/user-guides/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ If this is your first Vizro deployment then we recommend using our ["first dashb
1. [Sign up for a Hugging Face account](https://huggingface.co/join).
1. Copy our example Hugging Face dashboard by duplicating our ["first dashboard" example Space](https://huggingface.co/spaces/vizro/demo-first-dashboard). To do so, click the following button: [![Duplicate this Space](https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-md.svg)](https://huggingface.co/spaces/vizro/demo-first-dashboard?duplicate=true). This should open a window with the following form: ![Form to duplicate Space](../../assets/user_guides/deploy/hugging_face_duplicate_this_space.png)
1. You do not need to alter any of the default options but the [Hugging Face documentation](https://huggingface.co/docs/hub/en/spaces-overview#duplicating-a-space) gives an explanation of each.
1. Click "Duplicate Space" to start building your Hugging Face Space. This takes around 10 seconds, and when complete you should see the following dashboard running. ![Running dashboard](../../assets/user_guides/deploy/hugging_face_space.png)
1. Click "Duplicate Space" to build your Hugging Face Space. This takes around 10 seconds, and when complete you should see the following dashboard running. ![Running dashboard](../../assets/user_guides/deploy/hugging_face_space.png)

To turn the example app into your own, you will need to edit the code in the `app.py` file. Click on the Files tab at the top of your app and select `app.py`. Click the Edit button highlighted in the below screenshot to enter an editor view of the file. ![Edit app.py](../../assets/user_guides/deploy/hugging_face_edit_app.png)

Expand Down

0 comments on commit 23a6fb0

Please sign in to comment.