Spaces:
Running
Running
| title: github-sync-test | |
| emoji: "🤗" | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: gradio | |
| app_file: main.py | |
| pinned: false | |
| # github-sync-test | |
| Simple Gradio demo to test GitHub to Hugging Face Space sync. | |
| ## How the demo works | |
| 1. Update code in this repository. | |
| 2. Commit and push to GitHub. | |
| 3. GitHub Actions runs the sync workflow. | |
| 4. Hugging Face Space rebuilds and shows your latest change. | |
| ## Quick test | |
| 1. Change the title text in main.py. | |
| 2. Push to master. | |
| 3. Open the Space and verify the new title appears. | |
| ## Version badge | |
| The app header shows a version badge with `Version`, `Commit`, and `Loaded` timestamp. | |
| It reads `GITHUB_SHA`, `COMMIT_SHA`, `SPACE_COMMIT_SHA`, or the generated `VERSION` file, then falls back to `local`. | |