Revert "Add logging for arguments of /inference endpoint"

This reverts commit 7c815afff4.
This commit is contained in:
Andrey Danilov
2024-05-18 22:32:54 +03:00
parent 9e407c1e2b
commit eb710d933a

View File

@@ -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(