Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -11,10 +11,13 @@ pinned: false
|
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
| 15 |
```
|
| 16 |
-
|
| 17 |
```
|
| 18 |
|
| 19 |
-
|
| 20 |
|
|
|
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 13 |
|
| 14 |
+
## Contributing
|
| 15 |
+
1. Ensure you've set `HF_TOKEN` to a token that has write permissions, and it is in your 1Password environment.
|
| 16 |
+
2. Find the 1Password environment ID through the UI
|
| 17 |
+
3. Run (replace `yourenvironmentid` with your actual environment ID to upload the code to the repo:
|
| 18 |
```
|
| 19 |
+
op run --environment yourenvironmentid hf upload ProtectDemocracy/threatModel ./
|
| 20 |
```
|
| 21 |
|
| 22 |
+
|
| 23 |
|