optimize cli speed
This commit is contained in:
@@ -5,7 +5,7 @@ import click
|
|||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from scipy.io import wavfile
|
from scipy.io import wavfile
|
||||||
|
|
||||||
from rvc.modules.vc.modules import VC
|
|
||||||
|
|
||||||
logging.getLogger("numba").setLevel(logging.WARNING)
|
logging.getLogger("numba").setLevel(logging.WARNING)
|
||||||
|
|
||||||
@@ -109,6 +109,7 @@ def infer(
|
|||||||
rmsmixrate,
|
rmsmixrate,
|
||||||
protect,
|
protect,
|
||||||
):
|
):
|
||||||
|
from rvc.modules.vc.modules import VC
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
vc = VC()
|
vc = VC()
|
||||||
vc.get_vc(modelpath)
|
vc.get_vc(modelpath)
|
||||||
|
|||||||
Reference in New Issue
Block a user