mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-09 04:29:50 +08:00
fix file select filter bug (#2076)
This commit is contained in:
@@ -253,7 +253,7 @@ if __name__ == "__main__":
|
|||||||
initial_folder=os.path.join(
|
initial_folder=os.path.join(
|
||||||
os.getcwd(), "assets/weights"
|
os.getcwd(), "assets/weights"
|
||||||
),
|
),
|
||||||
file_types=((". pth"),),
|
file_types=[('Model File', '*.pth')],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@@ -264,7 +264,7 @@ if __name__ == "__main__":
|
|||||||
sg.FileBrowse(
|
sg.FileBrowse(
|
||||||
i18n("选择.index文件"),
|
i18n("选择.index文件"),
|
||||||
initial_folder=os.path.join(os.getcwd(), "logs"),
|
initial_folder=os.path.join(os.getcwd(), "logs"),
|
||||||
file_types=((". index"),),
|
file_types=[('Index File', '*.index')],
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user