You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -218,6 +218,8 @@ trackio.sync(
218
218
219
219
This uploads your local project database to a new or existing Space. The Space will display all your logged experiments and metrics, and if a custom frontend is configured or passed explicitly it will be deployed there too.
220
220
221
+
Static Trackio Spaces (`sdk="static"`) are read-only browser-only snapshots, so their snapshot data must be public. Use the default Gradio Space for private dashboards; `sdk="static"` does not support `private=True`.
Static Spaces serve data directly from the browser and therefore require public snapshot data. `--sdk static --private` is not supported; use the default Gradio SDK for private dashboards.
43
+
42
44
Sync all projects that have unsynced data to their configured Spaces:
43
45
44
46
```sh
@@ -51,7 +53,7 @@ trackio sync --all
51
53
|`--space-id`| The HF Space ID to sync to (e.g. `username/space_id`). If not provided, uses the previously-configured Space |
52
54
|`--all`| Sync all projects with unsynced data |
53
55
|`--sdk`|`gradio` (default) for a live server, or `static` for a read-only bucket-backed Space |
54
-
|`--private`| Make the Space private if creating a new one|
56
+
|`--private`| Make the Space private if creating a new Gradio Space. Not supported with `--sdk static`|
55
57
|`--force`| Overwrite the existing database without prompting |
|`--space-id`| The source Gradio Space ID (required) |
74
76
|`--project`| The project to freeze (required) |
75
77
|`--new-space-id`| The destination static Space ID. Defaults to `{space_id}_static`|
76
-
|`--private`|Make the new static Space private|
78
+
|`--private`|Not supported for static frozen snapshots|
77
79
78
80
> **Note:** The source must be a Gradio Space with a bucket mounted at `/data`. If the destination Space already exists and is not a Trackio static Space, `freeze` will refuse to overwrite it.
79
81
> The frozen Space is a snapshot. Later metrics synced to the original Gradio Space do not appear in the frozen static Space unless you run `freeze` again.
82
+
> Static frozen snapshots require public destination data, so `trackio freeze --private` is not supported.
Static Spaces are lightweight and free — they serve a read-only dashboard backed by Parquet files in an HF Bucket.
45
+
Static Spaces are lightweight and free — they serve a read-only dashboard backed by Parquet files in an HF Bucket. Because the dashboard runs entirely in the browser, static Trackio Spaces require public snapshot data and do not support `private=True`. Use the default Gradio Space (`sdk="gradio"`) for private dashboards.
This creates a new static Space (by default named `{space_id}_static`) containing a snapshot of the project's data from the source Space's bucket. The original Space is not modified.
62
62
63
63
Note that`freeze()` is a one-time snapshot. If new metrics are later uploaded to the original Gradio Space, the frozen static Space will not update automatically.
64
+
The source Gradio Space can use a private bucket, but the frozen static snapshot is public data. `freeze(private=True)` is not supported; use a Gradio Space if the frozen dashboard must stay private.
0 commit comments