mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 19:41:56 +08:00
Fix i18n string being stripped off.
This commit is contained in:
parent
f36cdf70e4
commit
21fc21ef02
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user