alstonlo commited on
Commit
f47cff9
·
verified ·
1 Parent(s): 51b576c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -21,9 +21,9 @@ ENV PYTHONPATH=/home/user/app/src TEXTAL_DATA=/home/user/data
21
  # Keep downloads and extraction out of container startup. Pin a dataset commit
22
  # with this build argument when publishing a new data release.
23
  ARG DATASET_REVISION=main
24
- RUN hf download alstonlo/textal-data --repo-type dataset --revision "$DATASET_REVISION" \
25
- --include entries.parquet papers.parquet snapshot.json texts.tar files.tar \
26
- --local-dir "$TEXTAL_DATA" \
27
  && cd "$TEXTAL_DATA" && tar -xf texts.tar && tar -xf files.tar && rm texts.tar files.tar
28
 
29
  COPY --chown=user src/viz src/viz
 
21
  # Keep downloads and extraction out of container startup. Pin a dataset commit
22
  # with this build argument when publishing a new data release.
23
  ARG DATASET_REVISION=main
24
+ RUN hf download alstonlo/textal-data \
25
+ entries.parquet papers.parquet snapshot.json texts.tar files.tar \
26
+ --repo-type dataset --revision "$DATASET_REVISION" --local-dir "$TEXTAL_DATA" \
27
  && cd "$TEXTAL_DATA" && tar -xf texts.tar && tar -xf files.tar && rm texts.tar files.tar
28
 
29
  COPY --chown=user src/viz src/viz