1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 01:10:22 +08:00

fix file select filter bug (#2076)

This commit is contained in:
ShakaRover
2024-05-29 20:01:55 +08:00
committed by GitHub
parent d01be25bc0
commit 915853870f

View File

@@ -253,7 +253,7 @@ if __name__ == "__main__":
initial_folder=os.path.join(
os.getcwd(), "assets/weights"
),
file_types=((". pth"),),
file_types=[('Model File', '*.pth')],
),
],
[
@@ -264,7 +264,7 @@ if __name__ == "__main__":
sg.FileBrowse(
i18n("选择.index文件"),
initial_folder=os.path.join(os.getcwd(), "logs"),
file_types=((". index"),),
file_types=[('Index File', '*.index')],
),
],
],