fix bug
This commit is contained in:
+2
-2
@@ -1134,8 +1134,8 @@ class BillBum_Modified_RegText_Node:
|
||||
CATEGORY = "text_processing"
|
||||
|
||||
def de_warp_text(self, input_text):
|
||||
text = re.sub(r"<think>.*?<\/think>", "", text)
|
||||
text = input_text.replace('\n', '').replace('.', ',')
|
||||
text = re.sub(r"<think>.*?<\/think>", "", input_text)
|
||||
text = text.replace('\n', '').replace('.', ',')
|
||||
text = re.sub(r"[^a-zA-Z0-9\s,'-]", "", text)
|
||||
|
||||
return (text,)
|
||||
|
||||
Reference in New Issue
Block a user