From e47a6b5842232e769fcb4979f3d1650028afc93e Mon Sep 17 00:00:00 2001 From: Ftps Date: Sun, 5 May 2024 03:39:44 +0900 Subject: [PATCH] Fix protect not to be dict --- infer/modules/vc/modules.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/infer/modules/vc/modules.py b/infer/modules/vc/modules.py index dab510e..9069072 100644 --- a/infer/modules/vc/modules.py +++ b/infer/modules/vc/modules.py @@ -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, "", "", )