mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-07 19:40:44 +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")
|
# f = open("%s/log_extract_f0.log"%exp_dir, "w")
|
||||||
|
|
||||||
from configs import Config
|
from configs import Config
|
||||||
|
|
||||||
Config.use_insecure_load()
|
Config.use_insecure_load()
|
||||||
|
|
||||||
printt(" ".join(sys.argv))
|
printt(" ".join(sys.argv))
|
||||||
featureInput = FeatureInput(is_half, device)
|
featureInput = FeatureInput(is_half, device)
|
||||||
paths = []
|
paths = []
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ import torch
|
|||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
|
|
||||||
from configs import Config
|
from configs import Config
|
||||||
|
|
||||||
Config.use_insecure_load()
|
Config.use_insecure_load()
|
||||||
|
|
||||||
if "privateuseone" not in device:
|
if "privateuseone" not in device:
|
||||||
|
|||||||
@@ -143,5 +143,6 @@ def preprocess_trainset(inp_root, sr, n_p, exp_dir, per):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from configs import Config
|
from configs import Config
|
||||||
|
|
||||||
Config.use_insecure_load()
|
Config.use_insecure_load()
|
||||||
preprocess_trainset(inp_root, sr, n_p, exp_dir, per)
|
preprocess_trainset(inp_root, sr, n_p, exp_dir, per)
|
||||||
|
|||||||
Reference in New Issue
Block a user