mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-01-01 20:45:04 +08:00
Format code (#612)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
d4e9badf17
commit
b9fdef34ba
@ -10,7 +10,7 @@ import warnings
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import torch
|
import torch
|
||||||
|
|
||||||
os.environ['OPENBLAS_NUM_THREADS'] = '1'
|
os.environ["OPENBLAS_NUM_THREADS"] = "1"
|
||||||
os.environ["no_proxy"] = "localhost, 127.0.0.1, ::1"
|
os.environ["no_proxy"] = "localhost, 127.0.0.1, ::1"
|
||||||
import logging
|
import logging
|
||||||
import threading
|
import threading
|
||||||
|
@ -92,7 +92,7 @@ def extract_small_model(path, name, sr, if_f0, info, version):
|
|||||||
40000,
|
40000,
|
||||||
]
|
]
|
||||||
elif sr == "48k":
|
elif sr == "48k":
|
||||||
if(version=="v1"):
|
if version == "v1":
|
||||||
opt["config"] = [
|
opt["config"] = [
|
||||||
1025,
|
1025,
|
||||||
32,
|
32,
|
||||||
@ -135,7 +135,7 @@ def extract_small_model(path, name, sr, if_f0, info, version):
|
|||||||
48000,
|
48000,
|
||||||
]
|
]
|
||||||
elif sr == "32k":
|
elif sr == "32k":
|
||||||
if(version=="v1"):
|
if version == "v1":
|
||||||
opt["config"] = [
|
opt["config"] = [
|
||||||
513,
|
513,
|
||||||
32,
|
32,
|
||||||
|
Loading…
Reference in New Issue
Block a user