mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-05 17:20:25 +08:00
fix(vc.info): show_model_info similiarity
This commit is contained in:
@@ -25,7 +25,7 @@ def show_model_info(cpt, show_long_id=False):
|
|||||||
+ ")"
|
+ ")"
|
||||||
)
|
)
|
||||||
sim = hash_similarity(h, hread)
|
sim = hash_similarity(h, hread)
|
||||||
if sim is float: sim = "%.2f%" % (sim*100)
|
if not isinstance(sim, str): sim = "%.2f%%" % (sim*100)
|
||||||
if not show_long_id:
|
if not show_long_id:
|
||||||
h = i18n("不显示")
|
h = i18n("不显示")
|
||||||
if h != hread:
|
if h != hread:
|
||||||
|
|||||||
Reference in New Issue
Block a user