Instructions to use Anirudh1950/Virtual-Try-On with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MediaPipe
How to use Anirudh1950/Virtual-Try-On with MediaPipe:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
|
Download auth_guide.md from Anirudh1950/Virtual-Try-On: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/Anirudh1950/Virtual-Try-On/resolve/main/auth_guide.md
- Command line
-
hf download hf://Anirudh1950/Virtual-Try-On/auth_guide.md
-
curl -L -o auth_guide.md https://huggingface.co/Anirudh1950/Virtual-Try-On/resolve/main/auth_guide.md
1.23 kB
| # How to Get a Service Account Key (JSON) | |
| Since you don't have the `gcloud` tool installed, the easiest way to authenticate is to use a **Service Account Key**. | |
| 1. **Go to Service Accounts**: | |
| * Open [Google Cloud Console - Service Accounts](https://console.cloud.google.com/iam-admin/serviceaccounts). | |
| * Select your project (`project-67b75fc2...`). | |
| 2. **Create a Service Account**: | |
| * Click **+ CREATE SERVICE ACCOUNT** (top). | |
| * **Name**: `tryon-user` (or anything). | |
| * Click **CREATE AND CONTINUE**. | |
| 3. **Grant Permissions** (Crucial Step): | |
| * In the "Select a role" box, type **Vertex AI User** and select it. | |
| * Add another role: **Storage Object Admin** (so it can save to your bucket). | |
| * Click **CONTINUE** -> **DONE**. | |
| 4. **Create Key**: | |
| * In the list, click the email address of the service account you just created (e.g., `tryon-user@...`). | |
| * Go to the **KEYS** tab (top bar). | |
| * Click **ADD KEY** -> **Create new key**. | |
| * Select **JSON**. | |
| * Click **CREATE**. | |
| 5. **Download**: | |
| * A `.json` file will automatically download to your computer. | |
| * **Upload this file** in the Streamlit app sidebar! | |