This commit is contained in:
wataru 2023-05-03 23:35:38 +09:00
parent babbc2e9c7
commit 6721d64291

View File

@ -7,7 +7,7 @@ import socket
import platform
import os
import argparse
import requests
import requests # type: ignore
from tqdm import tqdm
from voice_changer.utils.VoiceChangerParams import VoiceChangerParams
@ -170,10 +170,8 @@ if __name__ == "MMVCServerSIO":
}
)
# with ThreadPoolExecutor() as pool:
# pool.map(download, downloadParams)
for param in downloadParams:
download(param)
with ThreadPoolExecutor() as pool:
pool.map(download, downloadParams)
if (
os.path.exists(voiceChangerParams.hubert_base) is False