Skip to content

Commit ba92fb0

Browse files
committed
Update documentation
1 parent b1463b6 commit ba92fb0

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

docs/hub/_toctree.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@
291291
title: Langfuse on Spaces
292292
- local: spaces-embed
293293
title: Embed your Space
294-
- local: spaces-run-with-docker
295-
title: Run Spaces with Docker
294+
- local: spaces-run-locally
295+
title: Run locally
296296
- local: spaces-config-reference
297297
title: Spaces Configuration Reference
298298
- local: spaces-oauth

docs/hub/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The Hugging Face Hub is a platform with over 900k models, 200k datasets, and 300
5959
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-sdks-static">Static HTML Spaces</a>
6060
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-sdks-docker">Docker Spaces</a>
6161
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-embed">Embed your Space</a>
62-
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-run-with-docker">Run with Docker</a>
62+
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-run-locally">Run locally</a>
6363
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-config-reference">Reference</a>
6464
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-changelog">Changelog</a>
6565
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-advanced">Advanced Topics</a>

docs/hub/spaces-run-with-docker.md renamed to docs/hub/spaces-run-locally.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Run Locally
22

3-
You can use Docker to run most Spaces locally.
4-
To view instructions to download and run Spaces' Docker images, click on the "Run with Docker" button on the top-right corner of your Space page:
3+
You can run most Spaces locally.
4+
To view instructions to download and run Spaces locally, click on the "Run locally" button on the top-right corner of your Space page:
55

66
<div class="flex justify-center">
7-
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/spaces-run-with-docker.png"/>
8-
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/spaces-run-with-docker-dark.png"/>
7+
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/spaces-run-locally.png"/>
8+
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/spaces-run-locally-dark.png"/>
99
</div>
1010

11-
## Login to the Docker registry
11+
You can choose to run the Space using Docker or by cloning the repository with Git, and then follow the provided instructions.
12+
13+
## Run with Docker
1214

1315
Some Spaces will require you to login to Hugging Face's Docker registry. To do so, you'll need to provide:
1416
- Your Hugging Face username as `username`

docs/hub/spaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You'll also be able to upgrade your Space to run [on a GPU or other accelerated
2525
- [Static HTML Spaces](./spaces-sdks-static)
2626
- [Custom Python Spaces](./spaces-sdks-python)
2727
- [Embed your Space](./spaces-embed)
28-
- [Run your Space with Docker](./spaces-run-with-docker)
28+
- [Run your Space locally](./spaces-run-locally)
2929
- [Reference](./spaces-config-reference)
3030
- [Changelog](./spaces-changelog)
3131

0 commit comments

Comments
 (0)