ariG23498 HF Staff commited on
Commit
e3866bb
·
verified ·
1 Parent(s): 85bcc26

Upload black-forest-labs_FLUX.1-dev_1.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. black-forest-labs_FLUX.1-dev_1.txt +14 -0
black-forest-labs_FLUX.1-dev_1.txt ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ```CODE:
2
+ from diffusers import DiffusionPipeline
3
+
4
+ pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
5
+
6
+ prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
7
+ image = pipe(prompt).images[0]
8
+ ```
9
+
10
+ ERROR:
11
+ Traceback (most recent call last):
12
+ File "/tmp/black-forest-labs_FLUX.1-dev_1T6Ekrx.py", line 14, in <module>
13
+ from diffusers import DiffusionPipeline
14
+ ModuleNotFoundError: No module named 'diffusers'