Datasets:

Modalities:
Audio
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
Dask
License:
brthor commited on
Commit
6478456
1 Parent(s): 2fd62a2

rename script

Browse files
Files changed (1) hide show
  1. build_parquets.sh +0 -32
build_parquets.sh DELETED
@@ -1,32 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- SOURCE="${BASH_SOURCE[0]}"
4
- while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
5
- DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
6
- SOURCE="$(readlink "$SOURCE")"
7
- [[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
8
- done
9
- DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
10
-
11
- set -e
12
-
13
- (cd "$DIR" && python3 libritts_parquet_builder.py)
14
- git lfs install
15
- git add data
16
- git commit -m "add parquet data files"
17
-
18
- set +e
19
- while true; do
20
- # Run your command here
21
- git push
22
-
23
- # Check the exit code
24
- if [ $? -eq 0 ]; then
25
- echo "Command executed successfully."
26
- break
27
- else
28
- echo "Command failed. Retrying..."
29
- sleep 1 # You can add a delay if needed
30
- fi
31
- done
32
-