From c6062185504995f0024f124f776f1376f0851ada Mon Sep 17 00:00:00 2001 From: AIrjen Date: Fri, 31 May 2024 12:42:30 +0200 Subject: [PATCH] small fix --- build_dynamic_prompt.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/build_dynamic_prompt.py b/build_dynamic_prompt.py index f030923..b5938b0 100644 --- a/build_dynamic_prompt.py +++ b/build_dynamic_prompt.py @@ -1485,18 +1485,20 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all if(subtypeconcept != "all"): if(subtypeconcept == "event"): subjectchooser = "event" - if(subtypeconcept == "the X of Y concepts"): + elif(subtypeconcept == "the X of Y concepts"): subjectchooser = "concept" - if(subtypeconcept == "lines from poems"): + elif(subtypeconcept == "lines from poems"): subjectchooser = "poemline" - if(subtypeconcept == "lines from songs"): + elif(subtypeconcept == "lines from songs"): subjectchooser = "songline" - if(subtypeconcept == "names from card based games"): + elif(subtypeconcept == "names from card based games"): subjectchooser = "cardname" - if(subtypeconcept == "episode titles from tv shows"): + elif(subtypeconcept == "episode titles from tv shows"): subjectchooser = "episodetitle" - if(subtypeconcept == "concept mixer"): + elif(subtypeconcept == "concept mixer"): subjectchooser = "conceptmixer" + else: + subjectchooser = subtypeconcept # After we chose the subject, lets set all things ready for He/She/It etc