Spaces:
Sleeping
Sleeping
Commit
•
ae143ff
1
Parent(s):
e01847c
Fix the DiffusionPipeline not found error (#2)
Browse files- Fix the DiffusionPipeline not found error (7ca057ef2416f070cc7536153872bed3fbb13e37)
Co-authored-by: Muhammad Nabeel Raza <nabeelraza@users.noreply.huggingface.co>
- inference_code.py +1 -1
inference_code.py
CHANGED
@@ -2,7 +2,7 @@ import jax
|
|
2 |
import numpy as np
|
3 |
from flax.jax_utils import replicate
|
4 |
from flax.training.common_utils import shard
|
5 |
-
from diffusers import
|
6 |
|
7 |
model_path = "sabman/map-diffuser-v3"
|
8 |
# pipeline, _params = FlaxStableDiffusionPipeline.from_pretrained(model_path, dtype=jax.numpy.bfloat16)
|
|
|
2 |
import numpy as np
|
3 |
from flax.jax_utils import replicate
|
4 |
from flax.training.common_utils import shard
|
5 |
+
from diffusers import DiffusionPipeline
|
6 |
|
7 |
model_path = "sabman/map-diffuser-v3"
|
8 |
# pipeline, _params = FlaxStableDiffusionPipeline.from_pretrained(model_path, dtype=jax.numpy.bfloat16)
|