clean up for superprompt model

This commit is contained in:
AIrjen
2024-04-03 21:32:24 +02:00
parent ab8300d1da
commit 6856a6b8ab
5 changed files with 308 additions and 29 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ genders = ["all", "male", "female"]
emojis = [False, True]
models = ["SD1.5", "SDXL", "Stable Cascade"]
prompt_enhancers = ["none", "superprompter"]
prompt_enhancers = ["none", "superprompt-v1"]
subjects =["all"]
subjectsubtypesobject = ["all"]
subjectsubtypeshumanoid = ["all"]
@@ -692,7 +692,7 @@ class OneButtonSuperPrompt:
CATEGORY = "OneButtonPrompt"
def Comfy_OBP_SuperPrompt(self, insanitylevel, prompt, superpromptstyle, seed):
# artify here
OBPsuperprompt = one_button_superprompt(insanitylevel=insanitylevel, prompt=prompt, seed=seed, superpromptstyle=superpromptstyle)
print("Super prompt: " + OBPsuperprompt)
+21 -16
View File
@@ -21,7 +21,8 @@ def build_dynamic_prompt(insanitylevel = 5, forcesubject = "all", artists = "all
add_quality = True
superprompter = False
if(prompt_enhancer == "superprompter"):
prompt_enhancer = prompt_enhancer.lower()
if(prompt_enhancer == "superprompter" or prompt_enhancer == "superprompt" or prompt_enhancer == "superprompt-v1"):
superprompter = True
if(superprompter==True):
base_model = "Stable Cascade"
@@ -4721,6 +4722,7 @@ def one_button_superprompt(insanitylevel = 5, prompt = "", seed = -1, override_s
superprompterstyleslist = csv_to_list("superprompter_styles")
descriptorlist = csv_to_list("descriptors")
devmessagessuperpromptlist = csv_to_list("devmessages_superprompt")
usestyle = False
if(superpromptstyle != "" and superpromptstyle != "all"):
@@ -4763,8 +4765,8 @@ def one_button_superprompt(insanitylevel = 5, prompt = "", seed = -1, override_s
5: 1.6,
6: 1.75,
7: 2.0,
8: 4.0,
9: 7.0,
8: 3.0,
9: 5.0,
10: 15.0
}
@@ -4806,7 +4808,7 @@ def one_button_superprompt(insanitylevel = 5, prompt = "", seed = -1, override_s
# check if its matching all words from the override:
possible_words_to_check = override_subject.lower().split() + override_outfit.lower().split()
print(possible_words_to_check)
# print(possible_words_to_check)
words_to_check = []
words_to_remove = ['subject', 'solo', '1girl', '1boy']
for word in possible_words_to_check:
@@ -4871,20 +4873,20 @@ def one_button_superprompt(insanitylevel = 5, prompt = "", seed = -1, override_s
prompt = prompt.translate(translation_table_remove_numbers)
while done == False:
print(seed)
print(temperature)
print(top_p)
print(question)
print("chosen subject: " + chosensubject)
#print(seed)
#print(temperature)
#print(top_p)
#print(question)
#print("chosen subject: " + chosensubject)
superpromptresult = answer(input_text=question + '"' + prompt + '"', max_new_tokens=max_new_tokens, repetition_penalty=2.0, temperature=temperature, top_p=top_p, top_k=10, seed=seed)
superpromptresult = answer(input_text=question + prompt, max_new_tokens=max_new_tokens, repetition_penalty=2.0, temperature=temperature, top_p=top_p, top_k=10, seed=seed)
print("orignal: " + prompt)
print("insanitylevel: " + str(insanitylevel))
print("")
print("complete superprompt: " + superpromptresult)
print("")
#print("orignal: " + prompt)
#print("insanitylevel: " + str(insanitylevel))
#print("")
#print("complete superprompt: " + superpromptresult)
#print("")
# Find the indices of the nearest period and comma
period_index = superpromptresult.rfind('.')
@@ -4900,7 +4902,7 @@ def one_button_superprompt(insanitylevel = 5, prompt = "", seed = -1, override_s
superpromptresult = superpromptresult # If neither period nor comma exists, keep the entire text
print(words_to_check)
#print(words_to_check)
# Iterate through each word and check if it exists in the other string
i = 0
for word in words_to_check:
@@ -4924,6 +4926,9 @@ def one_button_superprompt(insanitylevel = 5, prompt = "", seed = -1, override_s
else:
top_p -= 0.3
max_new_tokens += 3
print("")
print(random.choice(devmessagessuperpromptlist) + "... Retrying...")
print("")
+274
View File
@@ -0,0 +1,274 @@
Wrong prompt
Not enough sizzle in prompt
¡Dangerous prompt!
Prompt too strange
Prompt too difficult
Error 404: Prompt Not Found
Oops! Prompt malfunction detected
Too many twists and turns in that prompt
Not feeling the vibe with this prompt
Warning: Prompt complexity overload
Oops, that prompt was a swing and a miss
Lost in translation: prompt edition
Current prompt not up to standard
Dialing down the jargon, dialing up the clarity
Prompt too dry, needs more flavor
Prompt overload detected
Error: Prompt mismatch
Too many loops in this prompt
Prompt not sparking joy
Error 101: Prompt not engaging
Lost in the prompt maze
Prompt lost in translation
Not enough zest in that prompt
Low prompt battery
Current prompt not up to par
Error: Prompt not resonating
Prompt feeling flat
Insufficient prompt energy detected
Whoops! Prompt malfunction detected
Lost in prompt translation
Prompt too vague
Error: Prompt foggy
Current prompt on the fritz
Not feeling the prompt vibe
Alert: Prompt not compatible
Prompt needs more spice
Error: Prompt complexity overload
Lost in the prompt abyss
Prompt lost in cyberspace
Prompt engine overheating
Prompt malfunction detected
Current prompt not up to snuff
Prompt not hitting the mark
Error: Prompt circuit overloaded
Prompt stuck in a loop
Insufficient prompt enthusiasm detected
Error: Prompt turbulence detected
Prompt lost in the ether
Prompt not passing the vibe check
Prompt not quite right
Whoops! Prompt glitch detected
Prompt signal lost
Prompt not resonating
Error: Prompt overload
Prompt under construction
Prompt not firing on all cylinders
Error: Prompt malfunction detected
Prompt lost in the data stream
Whoops! Prompt hiccup detected
Prompt not quite hitting the mark
Alert: Prompt overload detected
Oops! Prompt took a detour through the imagination
Lost in the labyrinth of prompts
Error: Prompt caught in a time loop
Whoops! Prompt got tangled in the web of ideas
Alert: Prompt ventured into the realm of the absurd
Prompt lost its passport to creativity
Error: Prompt collided with a parallel universe
Oops! Prompt fell down the rabbit hole of abstraction
Lost in the cosmic soup of prompts
Prompt wandered off into the wilderness of whimsy
Error: Prompt got lost in the maze of metaphors
Oops! Prompt got stranded on the island of ambiguity
Alert: Prompt caught in the whirlwind of creativity
Lost in the galaxy of prompts
Error: Prompt glitched into the realm of the surreal
Oops! Prompt took a wrong turn at the crossroads of ideas
Alert: Prompt drifted into the sea of abstraction
Lost in the jungle of prompts
Error: Prompt ventured into the twilight zone of creativity
Oops! Prompt stumbled into the hall of mirrors of ideas
Alert: Prompt sailed into the storm of creativity
Lost in the wilderness of prompts
Error: Prompt got entangled in the web of abstraction
Oops! Prompt strayed into the realm of fantasy
Alert: Prompt drifted into the fog of creativity
Error: Prompt took a quantum leap into the unknown
Oops! Prompt vanished into the nebula of abstraction
Alert: Prompt slipped through the cracks of creativity
Lost in the cosmic dance of prompts
Error 404: Quantum flux in prompt matrix
Alert: Prompt subsystem overridden by recursive algorithm
Critical error: Prompt buffer overflow detected
Warning: Prompt encryption protocol compromised
Error 101: Prompt neural network divergence
Alert: Prompt quantum entanglement disrupting coherence
Critical error: Prompt quantum tunneling disrupting data flow
Warning: Prompt hyperdrive malfunction causing temporal distortion
Error 404: Prompt quantum resonance frequency mismatch
Alert: Prompt nanite swarm infestation detected
Critical error: Prompt phase inversion in virtual reality interface
Warning: Prompt subspace interference distorting data packets
Error 101: Prompt quantum entanglement entropic decay
Alert: Prompt AI heuristic algorithms in conflict
Critical error: Prompt quantum computing flux causing algorithmic divergence
Warning: Prompt holographic interference disrupting visual cortex synchronization
Error 404: Prompt quantum superposition collapse detected
Alert: Prompt dimensional instability causing data corruption
Critical error: Prompt neural interface desynchronization
Warning: Prompt quantum tunneling disrupting data transmission
Error 101: Prompt quantum flux modulation failure
Alert: Prompt AI subroutine divergence detected
Critical error: Prompt subspace distortion causing data fragmentation
Warning: Prompt neural network feedback loop detected
Error 404: Prompt hyperdimensional resonance mismatch
Alert: Prompt quantum encryption decryption failure
Critical error: Prompt data compression algorithm failure
Warning: Prompt temporal anomaly disrupting temporal synchronization
Error 101: Prompt nanotech swarm malfunction
Alert: Prompt holographic interface instability detected
Critical error: Prompt cybernetic interface desynchronization
Warning: Prompt quantum singularity fluctuation causing data instability
Error 404: Prompt neural interface synaptic overload
Alert: Prompt subspace distortion field collapse detected
Critical error: Prompt quantum data packet fragmentation detected
Warning: Prompt quantum entanglement cascade failure
Error 101: Prompt AI heuristic algorithmic loop detected
Alert: Prompt holographic projection phase inversion detected
Critical error: Prompt cybernetic neural feedback loop detected
Warning: Prompt quantum anomaly interference detected
Error 404: Prompt subspace transmission phase distortion detected
Alert: Prompt temporal flux capacitor failure detected
Critical error: Prompt neural interface synaptic misfire detected
Warning: Prompt quantum singularity resonance cascade detected
Error 101: Prompt nanotech swarm replication divergence detected
Error: Prompt ensnared in the webs of the Wyrdwood Forest
Alert: Prompt lost in the labyrinth of illusions
Critical error: Prompt trapped in the realm of shadows
Warning: Prompt bewitched by ancient runes
Error 404: Prompt vanished into the misty veil of the Feywild
Alert: Prompt ensorcelled by the whispers of the Dark Sorcerer
Critical error: Prompt swallowed by the maelstrom of elemental chaos
Warning: Prompt imprisoned within the crystalline walls of the Ice Citadel
Error: Prompt lost in the sands of time within the Hourglass of Eternity
Alert: Prompt ensnared in the siren's song of the enchanted waters
Critical error: Prompt entangled in the roots of the ancient World Tree
Warning: Prompt ensorcelled by the gaze of the Medusa's eyes
Error 404: Prompt swallowed by the depths of the Abyssal Chasm
Alert: Prompt ensnared in the threads of the Dreamweaver's loom
Critical error: Prompt ensorcelled by the cursed mirror of the Enchantress
Warning: Prompt trapped in the ethereal mist of the Whispering Woods
Error: Prompt entombed within the ancient crypts of the Necromancer
Alert: Prompt ensnared in the chains of the Infernal Forge
Critical error: Prompt lost in the shifting sands of the Desert Mirage
Warning: Prompt ensorcelled by the cursed flames of the Phoenix's pyre
Error 404: Prompt submerged in the depths of the Leviathan's lair
Alert: Prompt ensnared in the coils of the Basilisk's gaze
Critical error: Prompt entrapped within the infernal labyrinth of the Demon's Den
Warning: Prompt ensorcelled by the whispers of the Banshee's wail
Error: Prompt entwined in the thorns of the Darkwood Bramble
Alert: Prompt ensnared by the spectral chains of the Wraith King
Critical error: Prompt imprisoned within the cursed tome of the Lich Necromancer
Warning: Prompt lost in the shifting sands of the Desert of Illusions
Error: Prompt ensorcelled by the enchanting melody of the Siren's harp
Alert: Prompt trapped within the twisted vines of the Dark Enchanter's garden
Critical error: Prompt entangled in the web of fate spun by the Spinner of Destinies
Warning: Prompt ensnared by the whispers of the Shadow Realm
Error: Prompt lost in the fog of the Forgotten Marshes
Alert: Prompt ensorcelled by the illusions of the Mirage Sorcerer
Critical error: Prompt imprisoned within the crystal prison of the Ice Witch
Warning: Prompt entangled in the branches of the Whispering Willow
Error: Prompt ensnared by the tendrils of the Darkwood Ent
Alert: Prompt trapped within the cursed mirror of the Reflection Witch
Critical error: Prompt imprisoned within the labyrinth of the Minotaur's maze
Warning: Prompt ensorcelled by the venomous gaze of the Basilisk
Error: Prompt lost in the shifting sands of the Hourglass of Time
Alert: Prompt ensnared by the twisted branches of the Witchwood Grove
Critical error: Prompt imprisoned within the arcane sigils of the Wizard's Tower
Warning: Prompt entangled in the threads of the Spider Queen's web
Error: Prompt ensorcelled by the enchantments of the Enchanter's Garden
Alert: Prompt lost in the labyrinth of the Fey Realm
Critical error: Prompt imprisoned within the cursed mirror of the Night Hag
Warning: Prompt ensnared by the thorny vines of the Blood Rose Thicket
Error: Prompt lost in the mists of the Veil of Shadows
Alert: Prompt ensorcelled by the haunting whispers of the Ghostly Choir
Brushstrokes askew
Canvas of ideas marred
Symphony of prompts discordant
Sculpting the wrong form
Ink of inspiration diluted
Verse of the wrong cadence
Palette lacking in hues
Clay of ideas crumbling
Chords of creativity misaligned
Mosaic of thoughts fragmented
Easel of inspiration barren
Quill faltering on parchment
Gaze lost in the void of the blank canvas
Theatre of imagination dim
Note of inspiration off-key
Sculpture of ideas unformed
Palette lacking in texture
Stanza of the wrong meter
Gallery of ideas incomplete
Canvas of the mind blank
Artistry obscured by shadows
Palette of ideas monochrome
Sketch of inspiration incomplete
Verse of the wrong tempo
Sculpture of ideas shapeless
Palette of ideas muted
Brush of inspiration dry
Symphony of thoughts discordant
Canvas of imagination blank
Quill of inspiration stilled
Easel of ideas unsteady
Gallery of dreams unfinished
Palette of ideas scattered
Sketch of inspiration rough
Verse of ideas fragmented
Sculpture of thoughts formless
Canvas of dreams faded
Quill of ideas silent
Symphony of colors muted
Palette of inspiration limited
Easel of creativity blank
Gallery of muses silent
Sketch of ideas incomplete
Verse of imagination disjointed
Sculpture of dreams amorphous
Canvas of creativity blanketed in shadows
Quill of ideas inkless
Symphony of thoughts discordant
Palette of inspiration dulled
Easel of imagination skewed
Critical fail
Encounter with the wrong prompt
Spell misfire
Natural 1 on the prompt check
Trap sprung by the wrong prompt
Failed saving throw against the complexity of the prompt
Initiative rolled too low
Failed stealth check
Magic item misidentified
Encounter with the wrong monster
Failed persuasion attempt
Critical hit from the wrong prompt
Failed investigation roll
Natural 20 on the insight check
Failed wisdom saving throw
Failed intelligence check
Encounter with a mimic prompt
Spell fizzled against the resistant prompt
Failed dexterity saving throw
Encounter with the wrong NPC
Failed strength check
Encounter with the wrong artifact
Failed religion check
Failed deception attempt
Encounter with the wrong alignment
Failed survival check
Encounter with the wrong plane of existence
Failed athletics check
Encounter with the wrong prophecy
Failed medicine check
Encounter with the wrong magical school
Failed nature check
Encounter with the wrong artifact
Failed perception check
Encounter with the wrong legendary creature
Failed history check
Encounter with the wrong dungeon
Failed acrobatics check
Failed intimidation attempt
1 Wrong prompt
2 Not enough sizzle in prompt
3 ¡Dangerous prompt!
4 Prompt too strange
5 Prompt too difficult
6 Error 404: Prompt Not Found
7 Oops! Prompt malfunction detected
8 Too many twists and turns in that prompt
9 Not feeling the vibe with this prompt
10 Warning: Prompt complexity overload
11 Oops that prompt was a swing and a miss
12 Lost in translation: prompt edition
13 Current prompt not up to standard
14 Dialing down the jargon dialing up the clarity
15 Prompt too dry needs more flavor
16 Prompt overload detected
17 Error: Prompt mismatch
18 Too many loops in this prompt
19 Prompt not sparking joy
20 Error 101: Prompt not engaging
21 Lost in the prompt maze
22 Prompt lost in translation
23 Not enough zest in that prompt
24 Low prompt battery
25 Current prompt not up to par
26 Error: Prompt not resonating
27 Prompt feeling flat
28 Insufficient prompt energy detected
29 Whoops! Prompt malfunction detected
30 Lost in prompt translation
31 Prompt too vague
32 Error: Prompt foggy
33 Current prompt on the fritz
34 Not feeling the prompt vibe
35 Alert: Prompt not compatible
36 Prompt needs more spice
37 Error: Prompt complexity overload
38 Lost in the prompt abyss
39 Prompt lost in cyberspace
40 Prompt engine overheating
41 Prompt malfunction detected
42 Current prompt not up to snuff
43 Prompt not hitting the mark
44 Error: Prompt circuit overloaded
45 Prompt stuck in a loop
46 Insufficient prompt enthusiasm detected
47 Error: Prompt turbulence detected
48 Prompt lost in the ether
49 Prompt not passing the vibe check
50 Prompt not quite right
51 Whoops! Prompt glitch detected
52 Prompt signal lost
53 Prompt not resonating
54 Error: Prompt overload
55 Prompt under construction
56 Prompt not firing on all cylinders
57 Error: Prompt malfunction detected
58 Prompt lost in the data stream
59 Whoops! Prompt hiccup detected
60 Prompt not quite hitting the mark
61 Alert: Prompt overload detected
62 Oops! Prompt took a detour through the imagination
63 Lost in the labyrinth of prompts
64 Error: Prompt caught in a time loop
65 Whoops! Prompt got tangled in the web of ideas
66 Alert: Prompt ventured into the realm of the absurd
67 Prompt lost its passport to creativity
68 Error: Prompt collided with a parallel universe
69 Oops! Prompt fell down the rabbit hole of abstraction
70 Lost in the cosmic soup of prompts
71 Prompt wandered off into the wilderness of whimsy
72 Error: Prompt got lost in the maze of metaphors
73 Oops! Prompt got stranded on the island of ambiguity
74 Alert: Prompt caught in the whirlwind of creativity
75 Lost in the galaxy of prompts
76 Error: Prompt glitched into the realm of the surreal
77 Oops! Prompt took a wrong turn at the crossroads of ideas
78 Alert: Prompt drifted into the sea of abstraction
79 Lost in the jungle of prompts
80 Error: Prompt ventured into the twilight zone of creativity
81 Oops! Prompt stumbled into the hall of mirrors of ideas
82 Alert: Prompt sailed into the storm of creativity
83 Lost in the wilderness of prompts
84 Error: Prompt got entangled in the web of abstraction
85 Oops! Prompt strayed into the realm of fantasy
86 Alert: Prompt drifted into the fog of creativity
87 Error: Prompt took a quantum leap into the unknown
88 Oops! Prompt vanished into the nebula of abstraction
89 Alert: Prompt slipped through the cracks of creativity
90 Lost in the cosmic dance of prompts
91 Error 404: Quantum flux in prompt matrix
92 Alert: Prompt subsystem overridden by recursive algorithm
93 Critical error: Prompt buffer overflow detected
94 Warning: Prompt encryption protocol compromised
95 Error 101: Prompt neural network divergence
96 Alert: Prompt quantum entanglement disrupting coherence
97 Critical error: Prompt quantum tunneling disrupting data flow
98 Warning: Prompt hyperdrive malfunction causing temporal distortion
99 Error 404: Prompt quantum resonance frequency mismatch
100 Alert: Prompt nanite swarm infestation detected
101 Critical error: Prompt phase inversion in virtual reality interface
102 Warning: Prompt subspace interference distorting data packets
103 Error 101: Prompt quantum entanglement entropic decay
104 Alert: Prompt AI heuristic algorithms in conflict
105 Critical error: Prompt quantum computing flux causing algorithmic divergence
106 Warning: Prompt holographic interference disrupting visual cortex synchronization
107 Error 404: Prompt quantum superposition collapse detected
108 Alert: Prompt dimensional instability causing data corruption
109 Critical error: Prompt neural interface desynchronization
110 Warning: Prompt quantum tunneling disrupting data transmission
111 Error 101: Prompt quantum flux modulation failure
112 Alert: Prompt AI subroutine divergence detected
113 Critical error: Prompt subspace distortion causing data fragmentation
114 Warning: Prompt neural network feedback loop detected
115 Error 404: Prompt hyperdimensional resonance mismatch
116 Alert: Prompt quantum encryption decryption failure
117 Critical error: Prompt data compression algorithm failure
118 Warning: Prompt temporal anomaly disrupting temporal synchronization
119 Error 101: Prompt nanotech swarm malfunction
120 Alert: Prompt holographic interface instability detected
121 Critical error: Prompt cybernetic interface desynchronization
122 Warning: Prompt quantum singularity fluctuation causing data instability
123 Error 404: Prompt neural interface synaptic overload
124 Alert: Prompt subspace distortion field collapse detected
125 Critical error: Prompt quantum data packet fragmentation detected
126 Warning: Prompt quantum entanglement cascade failure
127 Error 101: Prompt AI heuristic algorithmic loop detected
128 Alert: Prompt holographic projection phase inversion detected
129 Critical error: Prompt cybernetic neural feedback loop detected
130 Warning: Prompt quantum anomaly interference detected
131 Error 404: Prompt subspace transmission phase distortion detected
132 Alert: Prompt temporal flux capacitor failure detected
133 Critical error: Prompt neural interface synaptic misfire detected
134 Warning: Prompt quantum singularity resonance cascade detected
135 Error 101: Prompt nanotech swarm replication divergence detected
136 Error: Prompt ensnared in the webs of the Wyrdwood Forest
137 Alert: Prompt lost in the labyrinth of illusions
138 Critical error: Prompt trapped in the realm of shadows
139 Warning: Prompt bewitched by ancient runes
140 Error 404: Prompt vanished into the misty veil of the Feywild
141 Alert: Prompt ensorcelled by the whispers of the Dark Sorcerer
142 Critical error: Prompt swallowed by the maelstrom of elemental chaos
143 Warning: Prompt imprisoned within the crystalline walls of the Ice Citadel
144 Error: Prompt lost in the sands of time within the Hourglass of Eternity
145 Alert: Prompt ensnared in the siren's song of the enchanted waters
146 Critical error: Prompt entangled in the roots of the ancient World Tree
147 Warning: Prompt ensorcelled by the gaze of the Medusa's eyes
148 Error 404: Prompt swallowed by the depths of the Abyssal Chasm
149 Alert: Prompt ensnared in the threads of the Dreamweaver's loom
150 Critical error: Prompt ensorcelled by the cursed mirror of the Enchantress
151 Warning: Prompt trapped in the ethereal mist of the Whispering Woods
152 Error: Prompt entombed within the ancient crypts of the Necromancer
153 Alert: Prompt ensnared in the chains of the Infernal Forge
154 Critical error: Prompt lost in the shifting sands of the Desert Mirage
155 Warning: Prompt ensorcelled by the cursed flames of the Phoenix's pyre
156 Error 404: Prompt submerged in the depths of the Leviathan's lair
157 Alert: Prompt ensnared in the coils of the Basilisk's gaze
158 Critical error: Prompt entrapped within the infernal labyrinth of the Demon's Den
159 Warning: Prompt ensorcelled by the whispers of the Banshee's wail
160 Error: Prompt entwined in the thorns of the Darkwood Bramble
161 Alert: Prompt ensnared by the spectral chains of the Wraith King
162 Critical error: Prompt imprisoned within the cursed tome of the Lich Necromancer
163 Warning: Prompt lost in the shifting sands of the Desert of Illusions
164 Error: Prompt ensorcelled by the enchanting melody of the Siren's harp
165 Alert: Prompt trapped within the twisted vines of the Dark Enchanter's garden
166 Critical error: Prompt entangled in the web of fate spun by the Spinner of Destinies
167 Warning: Prompt ensnared by the whispers of the Shadow Realm
168 Error: Prompt lost in the fog of the Forgotten Marshes
169 Alert: Prompt ensorcelled by the illusions of the Mirage Sorcerer
170 Critical error: Prompt imprisoned within the crystal prison of the Ice Witch
171 Warning: Prompt entangled in the branches of the Whispering Willow
172 Error: Prompt ensnared by the tendrils of the Darkwood Ent
173 Alert: Prompt trapped within the cursed mirror of the Reflection Witch
174 Critical error: Prompt imprisoned within the labyrinth of the Minotaur's maze
175 Warning: Prompt ensorcelled by the venomous gaze of the Basilisk
176 Error: Prompt lost in the shifting sands of the Hourglass of Time
177 Alert: Prompt ensnared by the twisted branches of the Witchwood Grove
178 Critical error: Prompt imprisoned within the arcane sigils of the Wizard's Tower
179 Warning: Prompt entangled in the threads of the Spider Queen's web
180 Error: Prompt ensorcelled by the enchantments of the Enchanter's Garden
181 Alert: Prompt lost in the labyrinth of the Fey Realm
182 Critical error: Prompt imprisoned within the cursed mirror of the Night Hag
183 Warning: Prompt ensnared by the thorny vines of the Blood Rose Thicket
184 Error: Prompt lost in the mists of the Veil of Shadows
185 Alert: Prompt ensorcelled by the haunting whispers of the Ghostly Choir
186 Brushstrokes askew
187 Canvas of ideas marred
188 Symphony of prompts discordant
189 Sculpting the wrong form
190 Ink of inspiration diluted
191 Verse of the wrong cadence
192 Palette lacking in hues
193 Clay of ideas crumbling
194 Chords of creativity misaligned
195 Mosaic of thoughts fragmented
196 Easel of inspiration barren
197 Quill faltering on parchment
198 Gaze lost in the void of the blank canvas
199 Theatre of imagination dim
200 Note of inspiration off-key
201 Sculpture of ideas unformed
202 Palette lacking in texture
203 Stanza of the wrong meter
204 Gallery of ideas incomplete
205 Canvas of the mind blank
206 Artistry obscured by shadows
207 Palette of ideas monochrome
208 Sketch of inspiration incomplete
209 Verse of the wrong tempo
210 Sculpture of ideas shapeless
211 Palette of ideas muted
212 Brush of inspiration dry
213 Symphony of thoughts discordant
214 Canvas of imagination blank
215 Quill of inspiration stilled
216 Easel of ideas unsteady
217 Gallery of dreams unfinished
218 Palette of ideas scattered
219 Sketch of inspiration rough
220 Verse of ideas fragmented
221 Sculpture of thoughts formless
222 Canvas of dreams faded
223 Quill of ideas silent
224 Symphony of colors muted
225 Palette of inspiration limited
226 Easel of creativity blank
227 Gallery of muses silent
228 Sketch of ideas incomplete
229 Verse of imagination disjointed
230 Sculpture of dreams amorphous
231 Canvas of creativity blanketed in shadows
232 Quill of ideas inkless
233 Symphony of thoughts discordant
234 Palette of inspiration dulled
235 Easel of imagination skewed
236 Critical fail
237 Encounter with the wrong prompt
238 Spell misfire
239 Natural 1 on the prompt check
240 Trap sprung by the wrong prompt
241 Failed saving throw against the complexity of the prompt
242 Initiative rolled too low
243 Failed stealth check
244 Magic item misidentified
245 Encounter with the wrong monster
246 Failed persuasion attempt
247 Critical hit from the wrong prompt
248 Failed investigation roll
249 Natural 20 on the insight check
250 Failed wisdom saving throw
251 Failed intelligence check
252 Encounter with a mimic prompt
253 Spell fizzled against the resistant prompt
254 Failed dexterity saving throw
255 Encounter with the wrong NPC
256 Failed strength check
257 Encounter with the wrong artifact
258 Failed religion check
259 Failed deception attempt
260 Encounter with the wrong alignment
261 Failed survival check
262 Encounter with the wrong plane of existence
263 Failed athletics check
264 Encounter with the wrong prophecy
265 Failed medicine check
266 Encounter with the wrong magical school
267 Failed nature check
268 Encounter with the wrong artifact
269 Failed perception check
270 Encounter with the wrong legendary creature
271 Failed history check
272 Encounter with the wrong dungeon
273 Failed acrobatics check
274 Failed intimidation attempt
+6 -3
View File
@@ -32,7 +32,7 @@ ANDtogglemode = ["none", "automatic", "prefix AND prompt + suffix", "prefix + pr
seperatorlist = ["comma", "AND", "BREAK"]
genders = ["all", "male", "female"]
prompt_enhancers = ["none", "superprompter"]
prompt_enhancers = ["none", "superprompt-v1"]
qualitymodelist = ["highest", "gated"]
qualitykeeplist = ["keep used","keep all"]
@@ -656,9 +656,9 @@ class Script(scripts.Script):
🦸‍♂️💬 Prompt enhancer
Choose for "superprompter" to super prompt the prompts.
Choose for "superprompt-v1" to super prompt the prompts with roborovski superprompt-v1 model.
Please install requirements for superprompter before use.
Please install requirements for superprompt before use.
</font>
"""
@@ -675,7 +675,10 @@ class Script(scripts.Script):
with gr.Row(variant="compact"):
gr.Markdown("""
<font size="2">
Other options
---
</font>
"""
)
+5 -8
View File
@@ -14,17 +14,17 @@ def load_models():
if not all(os.path.exists(modelDir) for file in modelDir):
print("Model files not found. Downloading...\n")
download_models()
else:
print("Model files found. Skipping download.\n")
# else:
# print("Model files found. Skipping download.\n")
print("Loading SuperPrompt-v1 model...\n")
# print("Loading SuperPrompt-v1 model...\n")
global tokenizer, model
tokenizer = T5Tokenizer.from_pretrained(modelDir)
model = T5ForConditionalGeneration.from_pretrained(modelDir, torch_dtype=torch.float16)
print("SuperPrompt-v1 model loaded successfully.\n")
# print("SuperPrompt-v1 model loaded successfully.\n")
def unload_models():
global tokenizer, model
@@ -39,7 +39,6 @@ def unload_models():
def answer(input_text="", max_new_tokens=512, repetition_penalty=1.2, temperature=0.5, top_p=1, top_k = 1 , seed=-1):
# if the seed is "0", generate a random seed and log it to the output
if seed == -1:
seed = random.randint(1, 1000000)
@@ -59,7 +58,5 @@ def answer(input_text="", max_new_tokens=512, repetition_penalty=1.2, temperatur
dirty_text = tokenizer.decode(outputs[0])
text = dirty_text.replace("<pad>", "").replace("</s>", "").strip()
# print("Temperature: {temperature}\nTop P: {top_p}\nTop K: {top_k}\nSeed: {seed}\nOutput:\n\n")
# print(text)
return text