mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-02-02 16:23:58 +03:00
skip diffusion svc sample on mac
This commit is contained in:
parent
6720fc5f08
commit
cdff7cc7f4
@ -153,6 +153,8 @@ def _downloadSamples(samples: list[ModelSamples], sampleModelIds: list[Tuple[str
|
|||||||
slotInfo.isONNX = slotInfo.modelFile.endswith(".onnx")
|
slotInfo.isONNX = slotInfo.modelFile.endswith(".onnx")
|
||||||
modelSlotManager.save_model_slot(targetSlotIndex, slotInfo)
|
modelSlotManager.save_model_slot(targetSlotIndex, slotInfo)
|
||||||
elif sample.voiceChangerType == "Diffusion-SVC":
|
elif sample.voiceChangerType == "Diffusion-SVC":
|
||||||
|
if sys.platform.startswith("darwin") is True:
|
||||||
|
continue
|
||||||
slotInfo: DiffusionSVCModelSlot = DiffusionSVCModelSlot()
|
slotInfo: DiffusionSVCModelSlot = DiffusionSVCModelSlot()
|
||||||
|
|
||||||
os.makedirs(slotDir, exist_ok=True)
|
os.makedirs(slotDir, exist_ok=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user