Skip to content

Commit c1fd82a

Browse files
authored
Make negativePrompt optional in Swift CLI (#89)
1 parent e3db2ec commit c1fd82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/StableDiffusionCLI/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct StableDiffusionSample: ParsableCommand {
2020
var prompt: String
2121

2222
@Option(help: "Input string negative prompt")
23-
var negativePrompt: String
23+
var negativePrompt: String = ""
2424

2525
@Option(
2626
help: ArgumentHelp(

0 commit comments

Comments
 (0)