mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
parent
4402ca10b2
commit
cd3da2900d
@ -84,6 +84,8 @@ class Concepts(object):
|
|||||||
better to store the concept name (unique) than the concept trigger
|
better to store the concept name (unique) than the concept trigger
|
||||||
(not necessarily unique!)
|
(not necessarily unique!)
|
||||||
'''
|
'''
|
||||||
|
if not prompt:
|
||||||
|
return prompt
|
||||||
triggers = self.match_trigger.findall(prompt)
|
triggers = self.match_trigger.findall(prompt)
|
||||||
if not triggers:
|
if not triggers:
|
||||||
return prompt
|
return prompt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user