Spaces:
Runtime error
Runtime error
don't convert to PIL
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def infer(prompt, negative_prompt, image):
|
|
| 34 |
# implement your inference function here
|
| 35 |
|
| 36 |
cond_input = conditioning_image_transforms(np.array(image))
|
| 37 |
-
cond_input = T.ToPILImage(cond_input)
|
| 38 |
|
| 39 |
output = pipe(
|
| 40 |
prompt,
|
|
|
|
| 34 |
# implement your inference function here
|
| 35 |
|
| 36 |
cond_input = conditioning_image_transforms(np.array(image))
|
| 37 |
+
#cond_input = T.ToPILImage(cond_input)
|
| 38 |
|
| 39 |
output = pipe(
|
| 40 |
prompt,
|