Spaces:
Running
Running
Move HF Space sync to openra-rl org
Browse filesRetarget GitHub Actions workflow to sync to openra-rl/OpenRA-Bench
instead of the personal yxc20089 Space. Add HF Space links to the
About tab and README.
- .github/workflows/sync-to-hf.yml +2 -2
- README.md +1 -0
- app.py +1 -0
.github/workflows/sync-to-hf.yml
CHANGED
|
@@ -33,8 +33,8 @@ jobs:
|
|
| 33 |
git config user.email "actions@github.com"
|
| 34 |
|
| 35 |
# Add HF remote and push
|
| 36 |
-
git remote add hf https://huggingface.co/spaces/
|
| 37 |
-
git remote set-url hf https://x-access-token:${HF_TOKEN}@huggingface.co/spaces/
|
| 38 |
|
| 39 |
# Push main branch to HF
|
| 40 |
git push hf main --force
|
|
|
|
| 33 |
git config user.email "actions@github.com"
|
| 34 |
|
| 35 |
# Add HF remote and push
|
| 36 |
+
git remote add hf https://huggingface.co/spaces/openra-rl/OpenRA-Bench || true
|
| 37 |
+
git remote set-url hf https://x-access-token:${HF_TOKEN}@huggingface.co/spaces/openra-rl/OpenRA-Bench
|
| 38 |
|
| 39 |
# Push main branch to HF
|
| 40 |
git push hf main --force
|
README.md
CHANGED
|
@@ -67,3 +67,4 @@ python evaluate.py \
|
|
| 67 |
- [OpenRA-RL Documentation](https://openra-rl.dev)
|
| 68 |
- [OpenRA-RL GitHub](https://github.com/yxc20089/OpenRA-RL)
|
| 69 |
- [OpenEnv Framework](https://huggingface.co/openenv)
|
|
|
|
|
|
| 67 |
- [OpenRA-RL Documentation](https://openra-rl.dev)
|
| 68 |
- [OpenRA-RL GitHub](https://github.com/yxc20089/OpenRA-RL)
|
| 69 |
- [OpenEnv Framework](https://huggingface.co/openenv)
|
| 70 |
+
- [HuggingFace Space](https://huggingface.co/spaces/openra-rl/OpenRA-Bench)
|
app.py
CHANGED
|
@@ -160,6 +160,7 @@ The benchmark score combines three components:
|
|
| 160 |
- [GitHub Repository](https://github.com/yxc20089/OpenRA-RL)
|
| 161 |
- [OpenRA-Bench Source](https://github.com/yxc20089/OpenRA-Bench)
|
| 162 |
- [OpenEnv Framework](https://huggingface.co/openenv)
|
|
|
|
| 163 |
"""
|
| 164 |
|
| 165 |
SUBMIT_MD = """
|
|
|
|
| 160 |
- [GitHub Repository](https://github.com/yxc20089/OpenRA-RL)
|
| 161 |
- [OpenRA-Bench Source](https://github.com/yxc20089/OpenRA-Bench)
|
| 162 |
- [OpenEnv Framework](https://huggingface.co/openenv)
|
| 163 |
+
- [HuggingFace Space](https://huggingface.co/spaces/openra-rl/OpenRA-Bench)
|
| 164 |
"""
|
| 165 |
|
| 166 |
SUBMIT_MD = """
|