We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d76fee commit 69813e7Copy full SHA for 69813e7
2 files changed
spaces/imagenette-clip-hycoclip/Dockerfile
@@ -36,8 +36,7 @@ ENV HYPERVIEW_DATASETS_DIR=/home/user/app/demo_data/datasets \
36
DEMO_SAMPLES=${DEMO_SAMPLES}
37
38
# 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"
+RUN python demo.py --precompute
41
42
ENV HOST=0.0.0.0 \
43
PORT=7860
spaces/imagenette-clip-hycoclip/demo.py
@@ -43,7 +43,6 @@ def _ensure_demo_ready(dataset: hv.Dataset) -> None:
image_key=HF_IMAGE_KEY,
44
label_key=HF_LABEL_KEY,
45
max_samples=NUM_SAMPLES,
46
- shuffle=True,
47
)
48
49
spaces = dataset.list_spaces()
0 commit comments