Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,8 @@ pipe, params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
|
|
18 |
"runwayml/stable-diffusion-v1-5", controlnet=controlnet, revision="flax", dtype=jnp.bfloat16
|
19 |
)
|
20 |
|
21 |
-
def infer(prompt, image):
|
|
|
22 |
params["controlnet"] = controlnet_params
|
23 |
|
24 |
num_samples = 1 #jax.device_count()
|
|
|
18 |
"runwayml/stable-diffusion-v1-5", controlnet=controlnet, revision="flax", dtype=jnp.bfloat16
|
19 |
)
|
20 |
|
21 |
+
#def infer(prompt, image):
|
22 |
+
def infer(prompt):
|
23 |
params["controlnet"] = controlnet_params
|
24 |
|
25 |
num_samples = 1 #jax.device_count()
|