Skip to content

Commit

Permalink
Update negpip.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hako-mikan committed Sep 22, 2023
1 parent cd98edd commit 7d4defb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/negpip.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def ui(self, is_img2img):
return [active]

def process_batch(self, p, active,**kwargs):
print("NegPIPtest",active)
self.__init__()
if not active:return

Expand Down Expand Up @@ -248,7 +247,7 @@ def sub_forward(x, context, mask, additional_tokens, n_times_crossframe_attn_in_
return out

else:
print("else")
#print("else")
if debug: print(context.shape[1] , self.conlen,self.unlen)
tokens = []
concon = counter(self.isxl)
Expand Down

0 comments on commit 7d4defb

Please sign in to comment.