forked from mrq/ai-voice-cloning
fixed culling for validation based on audio duration not working
This commit is contained in:
parent
2fae5008fc
commit
17acfee5d0
|
@ -1 +1 @@
|
||||||
Subproject commit b10c58436d6871c26485d30b203e6cfdd4167602
|
Subproject commit bf3b6c87aa825295f64a31d010fd5e896fbcda43
|
|
@ -2665,8 +2665,8 @@ def prepare_dataset( voice, use_segments=False, text_length=0, audio_length=0, p
|
||||||
|
|
||||||
|
|
||||||
culled = len(text) < text_length
|
culled = len(text) < text_length
|
||||||
#if not culled and audio_length > 0:
|
if not culled and audio_length > 0:
|
||||||
# culled = duration < audio_length
|
culled = duration < audio_length
|
||||||
|
|
||||||
line = f'audio/{file}|{phonemes if phonemize and phonemes else text}'
|
line = f'audio/{file}|{phonemes if phonemize and phonemes else text}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user