From c1fd82a96d64719561cb10c78c3ac4d1bf2859c5 Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 28 Dec 2022 23:50:52 +0100 Subject: [PATCH] Make `negativePrompt` optional in Swift CLI (#89) --- swift/StableDiffusionCLI/main.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/StableDiffusionCLI/main.swift b/swift/StableDiffusionCLI/main.swift index 7471316..7343cf2 100644 --- a/swift/StableDiffusionCLI/main.swift +++ b/swift/StableDiffusionCLI/main.swift @@ -20,7 +20,7 @@ struct StableDiffusionSample: ParsableCommand { var prompt: String @Option(help: "Input string negative prompt") - var negativePrompt: String + var negativePrompt: String = "" @Option( help: ArgumentHelp(