Spaces:
Runtime error
Runtime error
| title: DataHub Live Viewer | |
| emoji: 📺 | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: 4.44.1 | |
| python_version: 3.12 | |
| app_file: app.py | |
| pinned: false | |
| # DataHub Live Viewer | |
| Public read-only viewer for DataHub segment text and uploaded media. | |
| The app expects an AWS sync process to publish files like this into a Hugging Face Dataset or Space repo: | |
| ```text | |
| live/manifest.json | |
| live/current/segment.json | |
| live/current/input.txt | |
| live/current/details.json | |
| live/current/media/<uploaded images> | |
| ``` | |
| Required environment variables in the Space settings: | |
| ```text | |
| DATA_REPO_ID=yourname/your-datahub-live-dataset | |
| DATA_REPO_TYPE=dataset | |
| DATA_PREFIX=live | |
| ``` | |
| Optional: | |
| ```text | |
| AUTO_REFRESH_SECONDS=5 | |
| HF_TOKEN=<only if the data repo is private> | |
| ``` | |