Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/hub/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
- local: spaces-embed
title: Embed your Space
- local: spaces-run-with-docker
title: Run Spaces with Docker
title: Run Spaces locally
- local: spaces-config-reference
title: Spaces Configuration Reference
- local: spaces-oauth
Expand Down
2 changes: 1 addition & 1 deletion docs/hub/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The Hugging Face Hub is a platform with over 900k models, 200k datasets, and 300
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-sdks-static">Static HTML Spaces</a>
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-sdks-docker">Docker Spaces</a>
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-embed">Embed your Space</a>
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-run-with-docker">Run with Docker</a>
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-run-with-docker">Run locally</a>
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-config-reference">Reference</a>
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-changelog">Changelog</a>
<a class="!no-underline hover:opacity-60 transform transition-colors hover:translate-x-px" href="./spaces-advanced">Advanced Topics</a>
Expand Down
6 changes: 4 additions & 2 deletions docs/hub/model-cards-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ TintinIA is fine-tuned version of Stable-Diffusion-xl trained on 125 comics pane

```

<div class="flex justify-center">
<a class="flex justify-center" href="https://huggingface.co/alvdansen/littletinies#little-tinies" target="_blank">
<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/models-gallery.png"/>
<img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/models-gallery-dark.png"/>
</div>
</a>

See result [here](https://huggingface.co/alvdansen/littletinies#little-tinies).

> Hint: Support of Card Components through the GUI editor coming soon...
14 changes: 8 additions & 6 deletions docs/hub/spaces-run-with-docker.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
# Run with Docker
# Run Spaces locally

You can use Docker to run most Spaces locally.
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:
You can run most Spaces locally.
To view instructions to download and run Spaces locally, click on the "Run locally" button on the top-right corner of your Space page:

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

## Login to the Docker registry
You can choose to run the Space using Docker or by cloning the repository with Git, and then follow the provided instructions.

## Run locally via Docker

Some Spaces will require you to login to Hugging Face's Docker registry. To do so, you'll need to provide:
- Your Hugging Face username as `username`
Expand Down
2 changes: 1 addition & 1 deletion docs/hub/spaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You'll also be able to upgrade your Space to run [on a GPU or other accelerated
- [Static HTML Spaces](./spaces-sdks-static)
- [Custom Python Spaces](./spaces-sdks-python)
- [Embed your Space](./spaces-embed)
- [Run your Space with Docker](./spaces-run-with-docker)
- [Run your Space locally](./spaces-run-with-docker)
- [Reference](./spaces-config-reference)
- [Changelog](./spaces-changelog)

Expand Down