Spaces:
Running
Running
chore: add HF sync workflow and restore requirements.txt
Browse files- Add .github/workflows/sync-to-hf.yml to auto-sync main to HF Spaces
- Restore requirements.txt with pinned versions from pyproject.toml
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- .github/workflows/sync-to-hf.yml +23 -0
- requirements.txt +7 -0
.github/workflows/sync-to-hf.yml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Sync to Hugging Face Spaces
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
branches:
|
| 6 |
+
- main
|
| 7 |
+
|
| 8 |
+
jobs:
|
| 9 |
+
sync:
|
| 10 |
+
runs-on: ubuntu-latest
|
| 11 |
+
steps:
|
| 12 |
+
- name: Checkout
|
| 13 |
+
uses: actions/checkout@v4
|
| 14 |
+
with:
|
| 15 |
+
fetch-depth: 0
|
| 16 |
+
lfs: true
|
| 17 |
+
|
| 18 |
+
- name: Push to Hugging Face
|
| 19 |
+
env:
|
| 20 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 21 |
+
run: |
|
| 22 |
+
git remote add hf https://FJFehr:$HF_TOKEN@huggingface.co/spaces/FJFehr/virtual_keyboard
|
| 23 |
+
git push hf main --force
|
requirements.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
einops>=0.6
|
| 2 |
+
einx>=0.3.0
|
| 3 |
+
gradio==5.49.1
|
| 4 |
+
huggingface_hub>=1.4.1
|
| 5 |
+
mido>=1.3.3
|
| 6 |
+
spaces>=0.47.0
|
| 7 |
+
torch>=2.10.0
|