change index format
This commit is contained in:
@@ -75,10 +75,10 @@ class VC:
|
|||||||
self.net_g.half() if self.config.is_half else self.net_g.float()
|
self.net_g.half() if self.config.is_half else self.net_g.float()
|
||||||
)
|
)
|
||||||
|
|
||||||
self.pipeline = Pipeline(self.tgt_sr, self.config)
|
self.pipeline = Pipeline(self.tgt_sr, self.config)
|
||||||
n_spk = self.cpt["config"][-3]
|
self.n_spk = self.cpt["config"][-3]
|
||||||
index = {"value": get_index_path_from_model(sid), "__type__": "update"}
|
index = get_index_path_from_model(sid)
|
||||||
logger.info("Select index: " + index["value"])
|
logger.info("Select index: " + index)
|
||||||
|
|
||||||
return self.n_spk, return_protect, index
|
return self.n_spk, return_protect, index
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user