The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix potential crash. (#17543)
comfyanonymous72bcda769647
diff --git a/comfy/model_base.py b/comfy/model_base.pyindex 42ccd5dbf..0d4cfb114 100644--- a/comfy/model_base.py+++ b/comfy/model_base.py@@ -2200,7 +2200,7 @@ class MiniMaxH3(BaseModel):"""Scale the sampler carries the audio stream at, 1.0 when not sampling the packed latent."""if self.latent_shapes is None or len(self.latent_shapes) < 2:return 1.0- return self.model_sampling.audio_scale+ return getattr(self.model_sampling, "audio_scale", 1.0)def _scale_audio_slice(self, latent, scale):# the sampler carries the audio stream scaled onto the video schedule