mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-03-14 20:03:59 +03:00
bugfix: same slot
This commit is contained in:
parent
228068b667
commit
d84e9a776b
@ -149,7 +149,7 @@ class RVC:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("EXCEPTION during loading hubert/contentvec model", e)
|
print("EXCEPTION during loading hubert/contentvec model", e)
|
||||||
|
|
||||||
if self.initialLoad:
|
if self.initialLoad or tmp_slot == self.currentSlot:
|
||||||
self.prepareModel(tmp_slot)
|
self.prepareModel(tmp_slot)
|
||||||
self.settings.modelSlotIndex = tmp_slot
|
self.settings.modelSlotIndex = tmp_slot
|
||||||
self.currentSlot = self.settings.modelSlotIndex
|
self.currentSlot = self.settings.modelSlotIndex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user