Instructions to use AlSr/HugFace01 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AlSr/HugFace01 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AlSr/HugFace01", 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 README.md
Browse files
README.md
CHANGED
|
@@ -49,7 +49,7 @@ pipe = ShapEPipeline.from_pretrained(repo).to("cuda")
|
|
| 49 |
|
| 50 |
|
| 51 |
guidance_scale = 15.0
|
| 52 |
-
prompt = "3D
|
| 53 |
images = pipe(
|
| 54 |
prompt,
|
| 55 |
guidance_scale=guidance_scale,
|
|
|
|
| 49 |
|
| 50 |
|
| 51 |
guidance_scale = 15.0
|
| 52 |
+
prompt = "3D objects looking like an alien"
|
| 53 |
images = pipe(
|
| 54 |
prompt,
|
| 55 |
guidance_scale=guidance_scale,
|