Revert "Add logging for arguments of /inference endpoint"
This reverts commit 7c815afff4.
This commit is contained in:
@@ -12,10 +12,6 @@ from rvc.modules.vc.modules import VC
|
||||
import glob
|
||||
import os
|
||||
|
||||
import logging
|
||||
|
||||
logger: logging.Logger = logging.getLogger(__name__)
|
||||
|
||||
router = APIRouter()
|
||||
from dotenv import load_dotenv
|
||||
|
||||
@@ -48,8 +44,6 @@ def inference(
|
||||
protect: float = 0.33,
|
||||
):
|
||||
print(res_type)
|
||||
logger.info(f"Arguments: {locals()}")
|
||||
|
||||
vc = VC()
|
||||
vc.get_vc(modelpath)
|
||||
tgt_sr, audio_opt, times, _ = vc.vc_inference(
|
||||
|
||||
Reference in New Issue
Block a user