fix(vc.info): show_model_info similiarity

This commit is contained in:
源文雨 2024-06-04 22:11:36 +09:00
parent 7866e776c2
commit c5d06bd2ec

View File

@ -25,7 +25,7 @@ def show_model_info(cpt, show_long_id=False):
+ ")"
)
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:
h = i18n("不显示")
if h != hread: