christian-johnson commited on
Commit
d530479
·
verified ·
1 Parent(s): b686079

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +6 -3
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
- Update your app here by updating the files, then run:
 
 
 
15
  ```
16
- hf upload --token $HF_TOKEN ProtectDemocracy/threatModel ./
17
  ```
18
 
19
- Ensure you've set `HF_TOKEN` to a token that has write permissions, and it is in your env.
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