Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def generate_image(prompt: str, inference_steps: int = 30, prng_seed: int = 0):
|
|
28 |
jit=True,
|
29 |
).images
|
30 |
|
31 |
-
images = images.reshape((num_samples,) +
|
32 |
images = pipeline.numpy_to_pil(images)
|
33 |
return images
|
34 |
|
|
|
28 |
jit=True,
|
29 |
).images
|
30 |
|
31 |
+
images = images.reshape((num_samples,) + images.shape[-3:])
|
32 |
images = pipeline.numpy_to_pil(images)
|
33 |
return images
|
34 |
|