Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ controlnet, controlnet_params = FlaxControlNetModel.from_pretrained(
|
|
84 |
args.controlnet_model_name_or_path,
|
85 |
revision=args.controlnet_revision,
|
86 |
from_pt=args.controlnet_from_pt,
|
87 |
-
dtype=jnp.
|
88 |
)
|
89 |
|
90 |
pipeline, pipeline_params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
|
@@ -92,7 +92,7 @@ pipeline, pipeline_params = FlaxStableDiffusionControlNetPipeline.from_pretraine
|
|
92 |
# tokenizer=tokenizer,
|
93 |
controlnet=controlnet,
|
94 |
safety_checker=None,
|
95 |
-
dtype=jnp.
|
96 |
revision=args.revision,
|
97 |
from_pt=args.from_pt,
|
98 |
)
|
|
|
84 |
args.controlnet_model_name_or_path,
|
85 |
revision=args.controlnet_revision,
|
86 |
from_pt=args.controlnet_from_pt,
|
87 |
+
dtype=jnp.bfloat16,
|
88 |
)
|
89 |
|
90 |
pipeline, pipeline_params = FlaxStableDiffusionControlNetPipeline.from_pretrained(
|
|
|
92 |
# tokenizer=tokenizer,
|
93 |
controlnet=controlnet,
|
94 |
safety_checker=None,
|
95 |
+
dtype=jnp.bfloat16,
|
96 |
revision=args.revision,
|
97 |
from_pt=args.from_pt,
|
98 |
)
|