Spaces:
Build error
Build error
eida-h commited on
Commit ·
ef51df7
1
Parent(s): b0e307e
test変更
Browse files- .github/workflows/deploy.yml +5 -3
- app.py +2 -0
.github/workflows/deploy.yml
CHANGED
|
@@ -3,7 +3,7 @@ name: Deploy to Hugging Face Spaces
|
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
branches:
|
| 6 |
-
- main
|
| 7 |
|
| 8 |
jobs:
|
| 9 |
deploy:
|
|
@@ -12,10 +12,12 @@ jobs:
|
|
| 12 |
- uses: actions/checkout@v3
|
| 13 |
with:
|
| 14 |
fetch-depth: 0
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
- name: Push to Hugging Face Spaces
|
| 16 |
env:
|
| 17 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 18 |
run: |
|
| 19 |
-
git config --global user.email "actions@github.com"
|
| 20 |
-
git config --global user.name "GitHub Actions"
|
| 21 |
git push https://HuggingFaceH4:$HF_TOKEN@huggingface.co/spaces/h-aida/pokepoke_simulator main
|
|
|
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
branches:
|
| 6 |
+
- main
|
| 7 |
|
| 8 |
jobs:
|
| 9 |
deploy:
|
|
|
|
| 12 |
- uses: actions/checkout@v3
|
| 13 |
with:
|
| 14 |
fetch-depth: 0
|
| 15 |
+
- name: Configure Git
|
| 16 |
+
run: |
|
| 17 |
+
git config --global user.email "actions@github.com"
|
| 18 |
+
git config --global user.name "GitHub Actions"
|
| 19 |
- name: Push to Hugging Face Spaces
|
| 20 |
env:
|
| 21 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 22 |
run: |
|
|
|
|
|
|
|
| 23 |
git push https://HuggingFaceH4:$HF_TOKEN@huggingface.co/spaces/h-aida/pokepoke_simulator main
|
app.py
CHANGED
|
@@ -54,3 +54,5 @@ st.markdown(summary_markdown_table)
|
|
| 54 |
# タイトル
|
| 55 |
st.write("**横軸:** ダメージ | **縦軸:** 確率")
|
| 56 |
st.bar_chart(data)
|
|
|
|
|
|
|
|
|
| 54 |
# タイトル
|
| 55 |
st.write("**横軸:** ダメージ | **縦軸:** 確率")
|
| 56 |
st.bar_chart(data)
|
| 57 |
+
|
| 58 |
+
st.write("test")
|