mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-05 01:10:22 +08:00
chore(format): run black on dev (#111)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ef9c8eb656
commit
b88cc1e8fe
@@ -98,8 +98,9 @@ if __name__ == "__main__":
|
||||
# f = open("%s/log_extract_f0.log"%exp_dir, "w")
|
||||
|
||||
from configs import Config
|
||||
|
||||
Config.use_insecure_load()
|
||||
|
||||
|
||||
printt(" ".join(sys.argv))
|
||||
featureInput = FeatureInput(is_half, device)
|
||||
paths = []
|
||||
|
||||
@@ -30,6 +30,7 @@ import torch
|
||||
import torch.nn.functional as F
|
||||
|
||||
from configs import Config
|
||||
|
||||
Config.use_insecure_load()
|
||||
|
||||
if "privateuseone" not in device:
|
||||
|
||||
@@ -143,5 +143,6 @@ def preprocess_trainset(inp_root, sr, n_p, exp_dir, per):
|
||||
|
||||
if __name__ == "__main__":
|
||||
from configs import Config
|
||||
|
||||
Config.use_insecure_load()
|
||||
preprocess_trainset(inp_root, sr, n_p, exp_dir, per)
|
||||
|
||||
Reference in New Issue
Block a user