Cognomen commited on
Commit
be4582e
Β·
1 Parent(s): 3cab9bb
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def infer(prompt, negative_prompt, image):
33
  # implement your inference function here
34
 
35
  inp = np.copy(image)
36
- inp.setflags(writable=False)
37
 
38
  cond_input = conditioning_image_transforms(image)
39
 
 
33
  # implement your inference function here
34
 
35
  inp = np.copy(image)
36
+ inp.setflags(write=False)
37
 
38
  cond_input = conditioning_image_transforms(image)
39