Instructions to use erwancodes/TeslaOptimusFluxD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use erwancodes/TeslaOptimusFluxD with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("erwancodes/TeslaOptimusFluxD") prompt = "Optimus is a robot with the text \"TESLA\" on its chest. it's a dj in a nighclub and wears a cowboy hat. It's dancing<lora:Optimus:0.9>" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Erwan commited on
Add 3 files
Browse files- Optimus.safetensors +3 -0
- images/00015-4091116713.png +3 -0
- images/00025-2731823840.png +3 -0
Optimus.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85a5f1e7bf4886aa580ab89d53b62ac5032112828436ec212eaf2ed995d033cb
|
| 3 |
+
size 19260504
|
images/00015-4091116713.png
ADDED
|
Git LFS Details
|
images/00025-2731823840.png
ADDED
|
Git LFS Details
|