mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-08 12:00:49 +08:00
add colab
This commit is contained in:
@@ -182,6 +182,7 @@ def get_vc(sid):
|
||||
return {"visible": True,"maximum": n_spk, "__type__": "update"}
|
||||
|
||||
def change_choices():
|
||||
names=[]
|
||||
for name in os.listdir(weight_root):
|
||||
if name.endswith(".pth"): names.append(name)
|
||||
return {"choices": sorted(names), "__type__": "update"}
|
||||
|
||||
Reference in New Issue
Block a user