Instructions to use Abdualkader/Multi-View with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Abdualkader/Multi-View with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Abdualkader/Multi-View", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Update pipeline.py
Browse files- pipeline.py +2 -2
pipeline.py
CHANGED
|
@@ -1439,8 +1439,8 @@ class MVDreamPipeline(DiffusionPipeline):
|
|
| 1439 |
self,
|
| 1440 |
prompt: str = "",
|
| 1441 |
image: Optional[np.ndarray] = None,
|
| 1442 |
-
height: int =
|
| 1443 |
-
width: int =
|
| 1444 |
elevation: float = 0,
|
| 1445 |
num_inference_steps: int = 50,
|
| 1446 |
guidance_scale: float = 7.0,
|
|
|
|
| 1439 |
self,
|
| 1440 |
prompt: str = "",
|
| 1441 |
image: Optional[np.ndarray] = None,
|
| 1442 |
+
height: int = 256,
|
| 1443 |
+
width: int = 256,
|
| 1444 |
elevation: float = 0,
|
| 1445 |
num_inference_steps: int = 50,
|
| 1446 |
guidance_scale: float = 7.0,
|