* removed unnecessary processing of variables.
* error control when reading wildcard or mapping files, and second chance for files with incorrect encoding. * fix processing inside extranetwork tag.
This commit is contained in:
+3
-3
@@ -799,12 +799,12 @@ class TestPromptPostProcessor(TestPromptPostProcessorBase):
|
||||
|
||||
def test_ch_choicesinsidelora(self): # simple choices inside a lora
|
||||
self.process(
|
||||
PromptPair("<lora:test1:1><lora:test2:{0.2|0.5|0.7|1}>", ""),
|
||||
PromptPair("<lora:test1:1><lora:test2:0.7>", ""),
|
||||
PromptPair("<lora:test1:1><lora:test__other__name:1><lora:test2:{0.2|0.5|0.7|1}>", ""),
|
||||
PromptPair("<lora:test1:1><lora:test__other__name:1><lora:test2:0.7>", ""),
|
||||
ppp=self.nocupppp,
|
||||
)
|
||||
|
||||
def test_ch_removelorawithchoices(self): # remove lora with choices inside
|
||||
def test_ch_removelorawithchoices(self):
|
||||
self.process(
|
||||
PromptPair("<lora:test1:1><lora:test2:{0.2|0.5|0.7|1}>", ""),
|
||||
PromptPair("", ""),
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
# wildcard3
|
||||
__2$$,$$text/wildcard2__
|
||||
__2$$,$$text/wildcard2__
|
||||
0::áüç
|
||||
Reference in New Issue
Block a user