diff --git a/docs/hub/spaces-overview.md b/docs/hub/spaces-overview.md index 3e9fe1a48..db5a881ed 100644 --- a/docs/hub/spaces-overview.md +++ b/docs/hub/spaces-overview.md @@ -83,7 +83,6 @@ If you want to duplicate a Space, you can click the three dots at the top right Some Spaces might have environment variables that you may need to set up. In these cases, the duplicate workflow will auto-populate the public Variables from the source Space, and give you a warning about setting up the Secrets. The duplicated Space will use a free CPU hardware by default, but you can later upgrade if needed. - ## Networking If your Space needs to make any network requests, you can make requests through the standard HTTP and HTTPS ports (80 and 443) along with port 8080. Any requests going to other ports will be blocked. @@ -104,3 +103,25 @@ In some cases, you might be interested in having programmatic access to the Spac * `SPACE_TITLE`: I Like Flan (specified in the README file) * `SPACE_ID`: `osanseviero/i-like-flan` * `SPACE_SUBDOMAIN`: `osanviero-i-like-flan` (the space's embed url is https://osanviero-i-like-flan.hf.space) + + +## Clone the Repository + +You can easily clone the repo in your Space. Start cloning by clicking on the dropdown menu in the top right of your Space page: + +
+ + +
+ +Select "Clone repository", and then you'll be able to follow the instructions to clone the Space repo to your local machine using HTTPS or SSH. + +
+ + +
+ +
+ + +
\ No newline at end of file