Spaces:
Runtime error
Runtime error
???
Browse files
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(
|
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 |
|