mirror of
https://github.com/svc-develop-team/so-vits-svc.git
synced 2025-01-08 11:57:43 +08:00
commit
b0e7e83880
@ -7,7 +7,7 @@ from multiprocessing import cpu_count
|
||||
import librosa
|
||||
import numpy as np
|
||||
from scipy.io import wavfile
|
||||
from tqdm import tqdm
|
||||
from rich.progress import track
|
||||
|
||||
|
||||
def load_wav(wav_path):
|
||||
@ -81,7 +81,7 @@ def process_all_speakers():
|
||||
if os.path.isdir(spk_dir):
|
||||
print(spk_dir)
|
||||
futures = [executor.submit(process, (spk_dir, i, args)) for i in os.listdir(spk_dir) if i.endswith("wav")]
|
||||
for _ in tqdm(concurrent.futures.as_completed(futures), total=len(futures)):
|
||||
for _ in track(concurrent.futures.as_completed(futures), total=len(futures), description="resampling:"):
|
||||
pass
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user