Skip to content

Commit

Permalink
chore(format): run black on main (RVC-Project#1851)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Mar 1, 2024
1 parent a3ee455 commit 6061f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infer-web.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from i18n.i18n import I18nAuto
from configs.config import Config
from sklearn.cluster import MiniBatchKMeans
import torch,platform
import torch, platform
import numpy as np
import gradio as gr
import faiss
Expand Down Expand Up @@ -688,7 +688,7 @@ def train_index(exp_dir1, version19):
% (n_ivf, index_ivf.nprobe, exp_dir1, version19)
)
try:
link=os.link if platform.system()=="Windows" else os.symlink
link = os.link if platform.system() == "Windows" else os.symlink
link(
"%s/added_IVF%s_Flat_nprobe_%s_%s_%s.index"
% (exp_dir, n_ivf, index_ivf.nprobe, exp_dir1, version19),
Expand Down

0 comments on commit 6061f63

Please sign in to comment.