diff --git a/ScheduleFuncs.py b/ScheduleFuncs.py index ceace42..25df47d 100644 --- a/ScheduleFuncs.py +++ b/ScheduleFuncs.py @@ -115,13 +115,6 @@ def process_input_text(text: str) -> dict: animation_prompts = json.loads(input_text.strip()) return animation_prompts -#def pad_with_zeros(tensor, target_length): -# current_length = tensor.shape[1] -# if current_length < target_length: -# padding = torch.zeros(tensor.shape[0], target_length - current_length, tensor.shape[2]).to(tensor.device) -# tensor = torch.cat([tensor, padding], dim=1) -# return tensor - def check_is_number(value): float_pattern = r'^(?=.)([+-]?([0-9]*)(\.([0-9]+))?)$' return re.match(float_pattern, value) diff --git a/ScheduledNodes.py b/ScheduledNodes.py index 5f4bcb4..72ef9fc 100644 --- a/ScheduledNodes.py +++ b/ScheduledNodes.py @@ -695,8 +695,6 @@ class BatchGLIGENSchedule: # Update x and y values x += x_change y += y_change - print(x) - print(y) out.append(self.append(conditioning_to, clip, gligen_textbox_model, pre_text, width, height, x, y)) return (out,)