wanghaofan commited on
Commit
020b9c0
1 Parent(s): 20c3357

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +72 -2
README.md CHANGED
@@ -20,6 +20,76 @@ widget:
20
  output:
21
  url: >-
22
  images/example1.png
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  base_model: black-forest-labs/FLUX.1-dev
24
  instance_prompt: artistic style blends reality and illustration elements.
25
  license: other
@@ -48,7 +118,7 @@ You should use `artistic style blends reality and illustration elements.` to tri
48
 
49
  ## Inference
50
 
51
- ```
52
  import torch
53
  from diffusers import FluxPipeline
54
 
@@ -57,7 +127,7 @@ pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-blended-realistic-illustrat
57
  pipe.fuse_lora(lora_scale=1.0)
58
  pipe.to("cuda")
59
 
60
- prompt = A peaceful outdoor scene,surrounded by lush green leaves and vibrant vegetation on the stone road. A cartoon style man sits on white clothes,gently caressing two animated cats,one orange and one white. Soft sunlight creates shadows,simple walls and pebble floors create a peaceful atmosphere,blending reality and animation elements,and natural and procedural characters. The artistic style blends elements of reality and illustration."
61
 
62
  image = pipe(prompt,
63
  num_inference_steps=24,
 
20
  output:
21
  url: >-
22
  images/example1.png
23
+ - text: >-
24
+ A cartoon style European woman wearing glasses is eating a table of seafood,including lobster,oysters,and other shellfish,in a well lit modern restaurant. The background of the restaurant is very blurry,and she is holding the utensils ready to eat. There is a glass of red wine and various dishes on the table. The illustrations contrast with the real food and environment,creating a unique mixed media effect and high angle perspective. The artistic style blends elements of reality and illustration.,
25
+ output:
26
+ url: >-
27
+ images/example2.png
28
+ - text: >-
29
+ A man wearing a hat, sunglasses, white t-shirt, black vest, black shorts, and white sneakers squatted on a wooden path. Next to him was a cartoon style woman wearing a gray top, black skirt, and white shoes. She raised her hands above her head and leaned against a textured geometric background wall. A cartoon Doberman Inu sat next to the cartoon woman, wearing a black harness and a frisbee at her feet. The artistic style blends elements of reality and illustration.
30
+ output:
31
+ url: >-
32
+ images/example3.png
33
+ - text: >-
34
+ In a car,a cartoon style European blonde woman sits in the passenger seat,while a man sits in the driver's seat,holding the steering wheel with one hand. A stylish modern car with a black steering wheel,brown leather seats,and a background showcasing flowers and water bodies. On a sunny day,this car can be seen from the driver's side window. The artistic style blends elements of reality and illustration.,
35
+ output:
36
+ url: >-
37
+ images/example4.png
38
+ - text: >-
39
+ A cartoon style European man opens his hands and takes a selfie under the Sydney Opera House,blending elements of reality and illustration in his artistic style.,
40
+ output:
41
+ url: >-
42
+ images/example5.png
43
+ - text: >-
44
+ A cartoon-style blonde European and American woman wearing sunglasses standing in front of Sofia Cathedral to take a selfie,the upper body,the art style combines reality and illustration elements.,
45
+ output:
46
+ url: >-
47
+ images/example6.png
48
+ - text: >-
49
+ A cartoon-style Indian girl,dressed in traditional Indian costumes and veil,takes a selfie in front of the Taj Mahal,artistic style blends reality and illustration elements.,upper_body,
50
+ output:
51
+ url: >-
52
+ images/example7.png
53
+ - text: >-
54
+ A cartoon-style black man, shirtless, wearing sunglasses, gold necklace, taking a selfie on a cruise ship, behind the Statue of Liberty, artistic style blends reality and illustration elements.
55
+ output:
56
+ url: >-
57
+ images/example8.png
58
+ - text: >-
59
+ A modern outdoor poolside scene,with a blonde European and American woman lying on an orange willow lounge chair. She is depicted as a cartoon character wearing a bikini and white sandals. The background features beige concrete walls,glass doors with curtains,and tropical palm trees. The sunlight casts shadows on the tile floor and building facade,creating a fresh and warm weather and a relaxed and peaceful atmosphere. The artistic style blends elements of reality and illustration.,
60
+ output:
61
+ url: >-
62
+ images/example9.png
63
+ - text: >-
64
+ In front of a graffiti filled street wall in reality,a cartoon style black man wearing a black jacket,a gold necklace,and a baseball cap is taking a selfie with his phone. The artistic style blends elements of reality and illustration.,
65
+ output:
66
+ url: >-
67
+ images/example10.png
68
+ - text: >-
69
+ A cartoon style European woman wearing glasses is eating a table of seafood,including lobster,oysters,and other shellfish,in a well lit modern restaurant. The background of the restaurant is very blurry,and she is holding the utensils ready to eat. There is a glass of red wine and various dishes on the table. The illustrations contrast with the real food and environment,creating a unique mixed media effect and high angle perspective. The artistic style blends elements of reality and illustration.,
70
+ output:
71
+ url: >-
72
+ images/example11.png
73
+ - text: >-
74
+ Against the backdrop of the Eiffel Tower, a cartoon style European woman wearing a delicate white floral dress stands there, with the iconic building of the tower clearly visible under the azure sky, capturing the romantic charm of Paris. When she takes photos against this stunning background, her flowing hair adds a dreamy atmosphere, and the artistic style blends reality and illustration elements.
75
+ output:
76
+ url: >-
77
+ images/example12.png
78
+ - text: >-
79
+ A cartoon-style Indian woman,praying with her hands folded under a huge Buddha statue,dressed in traditional Indian clothing,wearing a veil and beads on her hands,artistic style blends reality and illustration elements.,
80
+ output:
81
+ url: >-
82
+ images/example13.png
83
+ - text: >-
84
+ A European and American man wearing a hat sat at the dining table,using his smartphone to capture another cartoon style blonde European and American woman across from him. On the marble table,there are various colorful foods and desserts,including fruits,pastries,and drinks. The background is a large window,where trees can be seen from the outside,and the natural light is bright,creating a relaxed dining environment. The entire scene creatively blends elements of reality and illustration. The artistic style blends elements of reality and illustration.,
85
+ output:
86
+ url: >-
87
+ images/example14.png
88
+ - text: >-
89
+ On the tennis court,a cartoon style American cheerleader dances in front of an indoor basketball court,posing in a dance style that emphasizes sports. The characteristics,blurred background,and artistic style blend elements of reality and illustration.,upper_body,
90
+ output:
91
+ url: >-
92
+ images/example15.png
93
  base_model: black-forest-labs/FLUX.1-dev
94
  instance_prompt: artistic style blends reality and illustration elements.
95
  license: other
 
118
 
119
  ## Inference
120
 
121
+ ```python
122
  import torch
123
  from diffusers import FluxPipeline
124
 
 
127
  pipe.fuse_lora(lora_scale=1.0)
128
  pipe.to("cuda")
129
 
130
+ prompt = "A peaceful outdoor scene,surrounded by lush green leaves and vibrant vegetation on the stone road. A cartoon style man sits on white clothes,gently caressing two animated cats,one orange and one white. Soft sunlight creates shadows,simple walls and pebble floors create a peaceful atmosphere,blending reality and animation elements,and natural and procedural characters. The artistic style blends elements of reality and illustration."
131
 
132
  image = pipe(prompt,
133
  num_inference_steps=24,