Merge branch '4.1-Fork' of https://github.com/CNChTu/so-vits-svc into 4.1-Fork

This commit is contained in:
ylzz1997 2023-08-25 02:36:53 +08:00
commit 66bd04549a
1 changed files with 2 additions and 2 deletions

4
gui.py
View File

@ -65,7 +65,7 @@ class GUI:
self.block_frame = 0
self.crossfade_frame = 0
self.sola_search_frame = 0
self.device = 'cuda' if torch.cuda.is_available() else 'cpu'
self.device = 'cpu' if torch.cuda.is_available() else 'cpu'
self.svc_model = None
self.fade_in_window: np.ndarray = None # crossfade计算用numpy数组
self.fade_out_window: np.ndarray = None # crossfade计算用numpy数组
@ -495,4 +495,4 @@ class GUI:
if __name__ == "__main__":
i18n = I18nAuto()
gui = GUI()
gui = GUI()