From 0fbfa1d62b43fdaeb774cfea96ad14f41296d553 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 18 May 2023 18:54:41 +0800 Subject: [PATCH] Format code (#307) Co-authored-by: github-actions[bot] --- infer-web.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infer-web.py b/infer-web.py index eda5ce2..0a28d85 100644 --- a/infer-web.py +++ b/infer-web.py @@ -801,7 +801,8 @@ def train_index(exp_dir1, version19): index.add(big_npy[i : i + batch_size_add]) faiss.write_index( index, - "%s/added_IVF%s_Flat_nprobe_%s_%s.index" % (exp_dir, n_ivf, index_ivf.nprobe, version19), + "%s/added_IVF%s_Flat_nprobe_%s_%s.index" + % (exp_dir, n_ivf, index_ivf.nprobe, version19), ) infos.append( "成功构建索引,added_IVF%s_Flat_nprobe_%s_%s.index"