Spaces:
Running
Running
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from diffusers import DiffusionPipeline
|
2 |
+
|
3 |
+
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
|
4 |
+
pipe.load_lora_weights("gokaygokay/Flux-Game-Assets-LoRA-v2")
|
5 |
+
|
6 |
+
prompt = "wbgmsst, 3D castle, white background"
|
7 |
+
image = pipe(prompt).images[0]
|