Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from diffusers import DiffusionPipeline
|
|
| 4 |
pipeline = DiffusionPipeline.from_pretrained("jax-diffusers-event/canny-coyo1m")
|
| 5 |
|
| 6 |
def infer(prompt):
|
| 7 |
-
image = pipeline(
|
| 8 |
return image
|
| 9 |
|
| 10 |
|
|
|
|
| 4 |
pipeline = DiffusionPipeline.from_pretrained("jax-diffusers-event/canny-coyo1m")
|
| 5 |
|
| 6 |
def infer(prompt):
|
| 7 |
+
image = pipeline(prompt).images[0]
|
| 8 |
return image
|
| 9 |
|
| 10 |
|