Spaces:
Sleeping
Sleeping
nabeelraza
commited on
Commit
•
7ca057e
1
Parent(s):
e01847c
Fix the DiffusionPipeline not found error
Browse files- 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)
|