You can use Docker to run most Spaces locally.
Run Spaces with Docker
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:
Login to the Docker registry
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 - A User Access Token as
password. Generate one here.
Source and license
Source: Hub documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.