mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-05 01:10:22 +08:00
chore(format): run black on dev (#107)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
78dfad6cba
commit
e1aeb16630
2
gui.py
2
gui.py
@@ -695,7 +695,7 @@ if __name__ == "__main__":
|
||||
if len(values["index_path"].strip()) == 0:
|
||||
sg.popup(i18n("Please choose the .index file"))
|
||||
return False
|
||||
pattern = re.compile("[^\x00-\x7F]+")
|
||||
pattern = re.compile("[^\x00-\x7f]+")
|
||||
if pattern.findall(values["pth_path"]):
|
||||
sg.popup(i18n("pth path cannot contain unicode characters"))
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user