noflm
commited on
Commit
•
b2bc413
1
Parent(s):
7a6e38c
fix .tar to .tar.gz
Browse files- EliteVoiceProject.py +1 -1
- audio/twitter/train/twitter_train_0.0.1.tar +0 -3
- upstream.py +1 -1
EliteVoiceProject.py
CHANGED
@@ -36,7 +36,7 @@ _LICENSE = "https://hololive.hololivepro.com/guidelines/"
|
|
36 |
|
37 |
_BASE_URL = "https://huggingface.co/datasets/Elite35P-Server/EliteVoiceProject/resolve/main/"
|
38 |
|
39 |
-
_AUDIO_URL = _BASE_URL + "audio/{platform}/{split}/{platform}_{split}_{version}.tar"
|
40 |
|
41 |
_TRANSCRIPT_URL = _BASE_URL + "transcript/{platform}/{split}/{platform}_{split}_{version}.csv"
|
42 |
|
|
|
36 |
|
37 |
_BASE_URL = "https://huggingface.co/datasets/Elite35P-Server/EliteVoiceProject/resolve/main/"
|
38 |
|
39 |
+
_AUDIO_URL = _BASE_URL + "audio/{platform}/{split}/{platform}_{split}_{version}.tar.gz"
|
40 |
|
41 |
_TRANSCRIPT_URL = _BASE_URL + "transcript/{platform}/{split}/{platform}_{split}_{version}.csv"
|
42 |
|
audio/twitter/train/twitter_train_0.0.1.tar
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:ca42fe3ef216bb63c949ef54f597de006c7acdfad714918ba92aec753dac2ff2
|
3 |
-
size 14243840
|
|
|
|
|
|
|
|
upstream.py
CHANGED
@@ -21,7 +21,7 @@ def upstream(version, platform, split):
|
|
21 |
raw_transcript_files = glob.glob(f'{raw_transcript_path}/*.csv')
|
22 |
|
23 |
# export audio files to platform_version.tar
|
24 |
-
with tarfile.open(f'{export_audio_path}/{platform}_{split}_{version}.tar', 'w') as tar:
|
25 |
for file_path in raw_audio_files:
|
26 |
audio_paths = glob.glob(f'{file_path}/*.mp3')
|
27 |
folder_name = file_path.replace(raw_audio_path, '').replace('\\', '')
|
|
|
21 |
raw_transcript_files = glob.glob(f'{raw_transcript_path}/*.csv')
|
22 |
|
23 |
# export audio files to platform_version.tar
|
24 |
+
with tarfile.open(f'{export_audio_path}/{platform}_{split}_{version}.tar.gz', 'w:gz') as tar:
|
25 |
for file_path in raw_audio_files:
|
26 |
audio_paths = glob.glob(f'{file_path}/*.mp3')
|
27 |
folder_name = file_path.replace(raw_audio_path, '').replace('\\', '')
|