Mel Seto commited on
Commit
79b8fc8
·
unverified ·
2 Parent(s): c6e4c76 f25b25d

Merge pull request #9 from mel-seto/swap-readmes

Browse files
.github/workflows/main.yml CHANGED
@@ -21,6 +21,13 @@ jobs:
21
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
22
  run: |
23
  git lfs install
 
 
 
 
 
 
 
24
  git remote add hf https://chinese-enthusiasts:[email protected]/spaces/chinese-enthusiasts/idiom-finder
25
  git lfs push hf main --all
26
  git push hf main --force
 
21
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
22
  run: |
23
  git lfs install
24
+ # Swap README files
25
+ mv README.md README.github.md
26
+ mv README.hf.md README.md
27
+ git config user.name "github-actions"
28
+ git config user.email "[email protected]"
29
+ git add README.md
30
+ git commit -m "Update README for HF" || true
31
  git remote add hf https://chinese-enthusiasts:[email protected]/spaces/chinese-enthusiasts/idiom-finder
32
  git lfs push hf main --all
33
  git push hf main --force
huggingface.yml → README.hf.md RENAMED
@@ -1,4 +1,4 @@
1
-
2
  title: Chinese Idiom Finder
3
  emoji: 💬
4
  colorFrom: yellow
@@ -7,3 +7,5 @@ sdk: gradio
7
  sdk_version: 5.42.0
8
  app_file: src/app.py
9
  pinned: false
 
 
 
1
+ ---
2
  title: Chinese Idiom Finder
3
  emoji: 💬
4
  colorFrom: yellow
 
7
  sdk_version: 5.42.0
8
  app_file: src/app.py
9
  pinned: false
10
+ ---
11
+