noflm commited on
Commit ·
c5f4205
1
Parent(s): 5881765
fix dataset config line:87,166
Browse files83 unmodified lines84858687888972 unmodified lines16216316416516616783 unmodified lines)features = datasets.Features({"audio": datasets.features.Audio(sampling_rate=48_000),"sentence": datasets.Value("string"),}72 unmodified linespath = os.path.join(local_extracted_archive_paths[i], filename) if local_extracted_archive_paths else filenameresult["audio"] = {"path": path, "bytes": file.read()}# set path to None if the audio file doesn't exist locally (i.e. in streaming mode)#result["path"] = path if local_extracted_archive_paths else filenameyield path, result83 unmodified lines8485868788899072 unmodified lines16316416516616716883 unmodified lines)features = datasets.Features({"path": datasets.Value("string"),"audio": datasets.features.Audio(sampling_rate=48_000),"sentence": datasets.Value("string"),}72 unmodified linespath = os.path.join(local_extracted_archive_paths[i], filename) if local_extracted_archive_paths else filenameresult["audio"] = {"path": path, "bytes": file.read()}# set path to None if the audio file doesn't exist locally (i.e. in streaming mode)result["path"] = path if local_extracted_archive_paths else filenameyield path, result
EliteVoiceProject.py+2-1