Skip to content

Commit 69813e7

Browse files
committed
fix: remove shuffle param (not in hyperview 0.1.1), restore strict precompute
1 parent 8d76fee commit 69813e7

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

spaces/imagenette-clip-hycoclip/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ ENV HYPERVIEW_DATASETS_DIR=/home/user/app/demo_data/datasets \
3636
DEMO_SAMPLES=${DEMO_SAMPLES}
3737

3838
# Precompute at build time so the Space starts fast.
39-
# If this fails, the app will still compute at startup (slower first launch).
40-
RUN python demo.py --precompute || echo "WARNING: precompute failed, will compute at startup"
39+
RUN python demo.py --precompute
4140

4241
ENV HOST=0.0.0.0 \
4342
PORT=7860

spaces/imagenette-clip-hycoclip/demo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def _ensure_demo_ready(dataset: hv.Dataset) -> None:
4343
image_key=HF_IMAGE_KEY,
4444
label_key=HF_LABEL_KEY,
4545
max_samples=NUM_SAMPLES,
46-
shuffle=True,
4746
)
4847

4948
spaces = dataset.list_spaces()

0 commit comments

Comments
 (0)