ouput clean

This commit is contained in:
lilly
2023-03-23 17:03:39 +09:00
parent 7671ad8276
commit cf88e45268
6 changed files with 48 additions and 29 deletions
+5 -5
View File
@@ -8,12 +8,12 @@ if __name__ == os.path.splitext(os.path.basename(__file__))[0] or __name__ =='__
else:
from .ConsoleColor import print, console
from .wildcards import wildcards
print(__file__)
print(os.path.basename(__file__))
#print(__file__)
#print(os.path.basename(__file__))
print("wildcards_ComfyUI")
#print("wildcards_ComfyUI")
#print(os.getcwd())
print(f"CLIPTextEncodeWildcards __name__ {__name__}")
#Wprint(f"CLIPTextEncodeWildcards __name__ {__name__}")
class CLIPTextEncodeWildcards:
@classmethod
@@ -26,5 +26,5 @@ class CLIPTextEncodeWildcards:
def encode(self, clip, text):
r=wildcards.run(text)
print(f"encode : {r}")
print(f"[green]encode : [/green]",r)
return ([[clip.encode(r), {}]], )