mirror of
https://github.com/FunAudioLLM/CosyVoice.git
synced 2026-02-04 17:39:25 +08:00
Merge pull request #127 from Cxywzx/main
FIX: 修复下载解压完成LibriTTS数据时,生成.complete文件失败。
This commit is contained in:
@@ -43,7 +43,7 @@ if [ -z "$url" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $data/LibriSpeech/$part/.complete ]; then
|
if [ -f $data/LibriTTS/$part/.complete ]; then
|
||||||
echo "$0: data part $part was already successfully extracted, nothing to do."
|
echo "$0: data part $part was already successfully extracted, nothing to do."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
@@ -87,7 +87,7 @@ if ! tar -C $data -xvzf $data/$part.tar.gz; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
touch $data/LibriSpeech/$part/.complete
|
touch $data/LibriTTS/$part/.complete
|
||||||
|
|
||||||
echo "$0: Successfully downloaded and un-tarred $data/$part.tar.gz"
|
echo "$0: Successfully downloaded and un-tarred $data/$part.tar.gz"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user