Fix i18n string being stripped off.

This commit is contained in:
Harry Chen 2024-09-02 09:57:11 +00:00
parent f36cdf70e4
commit 21fc21ef02

View File

@ -32,12 +32,12 @@ is_share=eval(sys.argv[4])
def html_left(text, label='p'):
return f"""<div style="text-align: left; margin: 0; padding: 0;">
<{label} style="margin: 0; padding: 0;">{text}</{label}>
<{label} style="margin: 0; padding: 0;">""" + text + f"""</{label}>
</div>"""
def html_center(text, label='p'):
return f"""<div style="text-align: center; margin: 100; padding: 50;">
<{label} style="margin: 0; padding: 0;">{text}</{label}>
<{label} style="margin: 0; padding: 0;">""" + text + f"""</{label}>
</div>"""
def uvr(model_name, inp_root, save_root_vocal, paths, save_root_ins, agg, format0):