mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-05-06 20:01:37 +08:00
fix file select window no file
过滤问题导致没有文件可选择
This commit is contained in:
parent
b0fca77ea0
commit
4d0f895aa4
@ -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')],
|
||||
),
|
||||
],
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user