Fix the DiffusionPipeline not found error

#2
Files changed (1) hide show
  1. 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 FlaxStableDiffusionPipeline
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)