Update billbum_modified.py
This commit is contained in:
+2
-2
@@ -1134,7 +1134,7 @@ class BillBum_Modified_RegText_Node:
|
||||
CATEGORY = "text_processing"
|
||||
|
||||
def de_warp_text(self, input_text):
|
||||
text = re.sub(r"<think>.*?</think>", "", input_text, flags=re.DOTALL)
|
||||
text = re.sub(r".*?</think>", "", input_text, flags=re.DOTALL)
|
||||
text = text.replace('\n', '').replace('.', ',')
|
||||
text = re.sub(r"[^a-zA-Z0-9\s,'-]", "", text)
|
||||
|
||||
@@ -1294,4 +1294,4 @@ NODE_CLASS_MAPPINGS = {
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user