angkul07 commited on
Commit
903878c
·
verified ·
1 Parent(s): 4d5c18f

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +40 -9
README.md CHANGED
@@ -1,15 +1,46 @@
1
  ---
2
- title: Data Web Viewer
3
- emoji: 🐢
4
- colorFrom: purple
5
- colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 6.19.0
8
- python_version: '3.13'
9
  app_file: app.py
10
  pinned: false
11
- license: apache-2.0
12
- short_description: A robotics data viewer which converts mcap and zarr to mp4.
13
  ---
14
 
15
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Dataset Viewer
3
+ emoji: 🎬
4
+ colorFrom: blue
5
+ colorTo: gray
6
  sdk: gradio
7
+ sdk_version: "4.0.0"
 
8
  app_file: app.py
9
  pinned: false
 
 
10
  ---
11
 
12
+ # Dataset Viewer
13
+
14
+ Visualise episodes from:
15
+ - **EgoVerse** (`angkul07/egoverse-pick-tasks`) — zarr v3, front camera
16
+ - **ABC Teleop** (`angkul07/abc-ego`) — mcap, three cameras side by side
17
+
18
+ ## Usage
19
+
20
+ 1. Select a dataset from the navbar dropdown
21
+ 2. (ABC Teleop only) Select a task
22
+ 3. Pick a UUID from the dropdown or type one in
23
+ 4. Click **Convert →** — videos stream in as each camera is ready
24
+
25
+ ## Deployment
26
+
27
+ Push `app.py`, `requirements.txt`, and this `README.md` to a HuggingFace Space
28
+ (SDK: Gradio, hardware: CPU Basic is sufficient).
29
+
30
+ The Space needs read access to both dataset repos. If repos are private,
31
+ add a `HF_TOKEN` secret in the Space settings and set:
32
+
33
+ ```python
34
+ os.environ["HF_TOKEN"] = os.getenv("HF_TOKEN", "")
35
+ ```
36
+
37
+ at the top of `app.py`, then pass `token=os.environ["HF_TOKEN"]`
38
+ to `hf_hub_download` and `HfFileSystem()`.
39
+
40
+ ## Dependencies
41
+
42
+ ffmpeg must be available in the Space environment. Add to `packages.txt`:
43
+
44
+ ```
45
+ ffmpeg
46
+ ```