swift-coreml-diffusers
swift-coreml-diffusers copied to clipboard
Compile fixes for Xcode 14.3.1
Did not compile on Xcode 14.3.1
Cannot convert value of type '()' to expected condition type 'Bool'
Fixes #70
could you possibly just also include the implicit declaration of type as well?
let deviceSupportsQuantization: Bool = {
I've had the compiler complain when this was missing a few times as well.
Have you tested that the current code builds in 14.3.1 with the current StableDiffusion package with these changes?
Had the same issue, and this fixes the problem in 14.3.1 for me as well!