asahi417 commited on
Commit
4d206b1
·
1 Parent(s): 3524295

nit refactoring

Browse files
Files changed (2) hide show
  1. download_audio.py +1 -1
  2. main.sh +2 -1
download_audio.py CHANGED
@@ -34,7 +34,7 @@ wget_max_retry = os.getenv("MAX_RETRY", "2")
34
  wget_timeout = os.getenv("TIMEOUT", "30")
35
  line_no_start = int(os.getenv("LINE_NO_START", 0))
36
  line_no_end = int(os.getenv("LINE_NO_END", 10000))
37
- dataset_id = int(os.getenv("DATASET_ID", 0))
38
  hf_org = "kotoba-tech"
39
  hf_dataset = f"seamless-align-{direction}"
40
 
 
34
  wget_timeout = os.getenv("TIMEOUT", "30")
35
  line_no_start = int(os.getenv("LINE_NO_START", 0))
36
  line_no_end = int(os.getenv("LINE_NO_END", 10000))
37
+ dataset_id = os.getenv("DATASET_ID", 0)
38
  hf_org = "kotoba-tech"
39
  hf_dataset = f"seamless-align-{direction}"
40
 
main.sh CHANGED
@@ -3,7 +3,8 @@
3
  ####################
4
  export DIRECTION="enA-jaA"
5
  export LINE_NO_START=0
6
- export LINE_NO_END=25000
 
7
  python download_audio.py
8
 
9
  export DIRECTION="enA-jaA"
 
3
  ####################
4
  export DIRECTION="enA-jaA"
5
  export LINE_NO_START=0
6
+ export LINE_NO_END=10
7
+ export DATASET_ID="tmp"
8
  python download_audio.py
9
 
10
  export DIRECTION="enA-jaA"