Canstralian commited on
Commit
8cc475d
·
verified ·
1 Parent(s): 4fa8602

Create config.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/config.yml +22 -0
.github/workflows/config.yml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # config.yml
2
+
3
+ huggingface:
4
+ # The Hugging Face Space repository ID (e.g., user/space-name)
5
+ huggingface_repo_id: "canstralian/your-huggingface-space"
6
+
7
+ # Your Hugging Face username (to authenticate)
8
+ hf_username: "canstralian"
9
+
10
+ # Hugging Face API token, recommended to be kept in GitHub secrets
11
+ hf_token: "${{ secrets.HF_TOKEN }}" # Replace this with your GitHub secrets for security
12
+
13
+ # Specify the branch to sync with, optional (defaults to main)
14
+ github_branch: "main"
15
+
16
+ # Optional: If you have a specific path to the configuration file in your repository
17
+ yaml_header_path: "path/to/your/config-file.yaml" # Optional: specify the YAML config file path
18
+
19
+ # Optional: specify additional Hugging Face Space sync options (e.g., version control, deployment details)
20
+ options:
21
+ deploy: true # Set to true to trigger deployment after sync
22
+ force_sync: false # Set to true if you need to force a sync even if no changes are detected