1
0
mirror of synced 2024-11-27 17:00:54 +01:00

sort import PEP8

This commit is contained in:
Ftps 2023-08-27 22:21:48 +09:00
parent 6e389cf915
commit 0902f1711d

View File

@ -1,28 +1,22 @@
import logging
import os
import shutil
import sys
now_dir = os.getcwd()
sys.path.append(now_dir)
import threading
import traceback
import warnings
import numpy as np
import torch
import logging
import threading
from random import shuffle
from subprocess import Popen
from time import sleep
import fairseq
import faiss
import gradio as gr
import numpy as np
import torch
from dotenv import load_dotenv
from sklearn.cluster import MiniBatchKMeans
from configs.config import Config
import soundfile as sf
import fairseq
from i18n.i18n import I18nAuto
from infer.lib.train.process_ckpt import (
change_info,
@ -30,14 +24,9 @@ from infer.lib.train.process_ckpt import (
merge,
show_info,
)
from sklearn.cluster import MiniBatchKMeans
from dotenv import load_dotenv
from infer.modules.vc.modules import VC
from infer.modules.uvr5.modules import uvr
from infer.modules.onnx.export import export_onnx
from infer.modules.uvr5.modules import uvr
from infer.modules.vc.modules import VC
logging.getLogger("numba").setLevel(logging.WARNING)