Zai commited on
Commit
6feb6a4
1 Parent(s): b87ba64

testing package

Browse files
Files changed (2) hide show
  1. .github/workflows/hugging-face.yaml +24 -0
  2. README.md +1 -13
.github/workflows/hugging-face.yaml CHANGED
@@ -12,6 +12,30 @@ jobs:
12
  with:
13
  fetch-depth: 0
14
  lfs: true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  - name: Push to hub
16
  env:
17
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
 
12
  with:
13
  fetch-depth: 0
14
  lfs: true
15
+ - name: Set Git identity
16
+ run: |
17
+ git config --global user.email "[email protected]"
18
+ git config --global user.name "GitHub Actions"
19
+
20
+ - name: Update README.md
21
+ run: |
22
+ tmp_file=$(mktemp)
23
+ echo "---" >> $tmp_file
24
+ echo "title: Burmese GPT" >> $tmp_file
25
+ echo "emoji: 💫️" >> $tmp_file
26
+ echo "colorFrom: yellow" >> $tmp_file
27
+ echo "colorTo: blue" >> $tmp_file
28
+ echo "sdk: streamlit" >> $tmp_file
29
+ echo "sdk_version: 1.29.0" >> $tmp_file
30
+ echo "app_file: space.py" >> $tmp_file
31
+ echo "pinned: false" >> $tmp_file
32
+ echo "license: openrail" >> $tmp_file
33
+ echo "---" >> $tmp_file
34
+ echo "" >> $tmp_file
35
+ cat README.md >> $tmp_file
36
+ mv $tmp_file README.md
37
+ git add README.md
38
+ git commit -m "Updated README.md"
39
  - name: Push to hub
40
  env:
41
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
README.md CHANGED
@@ -1,14 +1,2 @@
1
- # Burmese GPT
2
-
3
- ---
4
 
5
- title: BurmeseGPT
6
- emoji: ✨
7
- colorFrom: yellow
8
- colorTo: blue
9
- sdk: streamlit
10
- sdk_version: 1.29.0
11
- app_file: space.py
12
- pinned: false
13
- license: openrail
14
- ---
 
 
 
 
1
 
2
+ # Burmese GPT