mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-05-06 20:01:37 +08:00
Fix protect not to be dict
This commit is contained in:
parent
fba94a0bf7
commit
e47a6b5842
@ -88,16 +88,8 @@ class VC:
|
||||
torch.mps.empty_cache()
|
||||
return (
|
||||
{"visible": False, "__type__": "update"},
|
||||
{
|
||||
"visible": True,
|
||||
"value": to_return_protect0,
|
||||
"__type__": "update",
|
||||
},
|
||||
{
|
||||
"visible": True,
|
||||
"value": to_return_protect1,
|
||||
"__type__": "update",
|
||||
},
|
||||
to_return_protect0,
|
||||
to_return_protect1,
|
||||
"",
|
||||
"",
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user