Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def generate_image(
|
|
86 |
seed = int(seed)
|
87 |
print(f'prompt:{prompt}')
|
88 |
|
89 |
-
text = str(translator.translate(prompt, 'English'))
|
90 |
|
91 |
generator = torch.Generator().manual_seed(seed)
|
92 |
|
@@ -136,14 +136,14 @@ examples_bak = [
|
|
136 |
]
|
137 |
|
138 |
examples = [
|
139 |
-
"A cartoon-style blonde European-American woman wearing sunglasses stood in front of the triumphant door to take a selfie, the upper
|
140 |
-
"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",
|
141 |
-
"A cartoon style European man opens his hands and takes a selfie under the Sydney Opera House",
|
142 |
-
"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",
|
143 |
-
"close up portrait, Amidst the interplay of light and shadows in a photography studio,a soft spotlight traces the contours of a face,highlighting a figure clad in a sleek black turtleneck. The garment,hugging the skin with subtle luxury,complements the Caucasian model's understated makeup,embodying minimalist elegance. Behind,a pale gray backdrop extends,its fine texture shimmering subtly in the dim light,artfully balancing the composition and focusing attention on the subject. In a palette of black,gray,and skin tones,simplicity intertwines with profundity,as every detail whispers untold stories.",
|
144 |
-
"Caucasian,The image features a young woman of European descent standing in an studio setting,surrounded by silk. (She is wearing a silk dress),paired with a bold. Her brown hair is wet and tousled,falling naturally around her face,giving her a raw and edgy look. The woman has an intense and direct gaze,adding to the dramatic feel of the image. The backdrop is flowing silk,big silk. The overall composition blends elements of fashion and nature,creating a striking and powerful visual",
|
145 |
-
"A black and white portrait of a young woman with a captivating gaze. She's bundled up in a cozy black sweater,hands gently cupped near her face. The monochromatic tones highlight her delicate features and the contemplative mood of the image",
|
146 |
-
"Fashion photography portrait,close up portrait,(a woman of European descent is surrounded by lava rock and magma from head to neck, red magma hair, wear volcanic lava rock magma outfit coat lava rock magma fashion costume with ruffled layers"
|
147 |
]
|
148 |
|
149 |
|
|
|
86 |
seed = int(seed)
|
87 |
print(f'prompt:{prompt}')
|
88 |
|
89 |
+
text = str(translator.translate(prompt, 'English'))
|
90 |
|
91 |
generator = torch.Generator().manual_seed(seed)
|
92 |
|
|
|
136 |
]
|
137 |
|
138 |
examples = [
|
139 |
+
["A cartoon-style blonde European-American woman wearing sunglasses stood in front of the triumphant door to take a selfie, the upper bodyartistic style blends elements of reality and illustration.",1.0,"Shakker-Labs/FLUX.1-dev-LoRA-blended-realistic-illustration"],
|
140 |
+
["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,artistic style blends elements of reality and illustration.",1.0,"Shakker-Labs/FLUX.1-dev-LoRA-blended-realistic-illustration"],
|
141 |
+
["A cartoon style European man opens his hands and takes a selfie under the Sydney Opera House, artistic style blends elements of reality and illustration.",1.0,"Shakker-Labs/FLUX.1-dev-LoRA-blended-realistic-illustration"],
|
142 |
+
["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, artistic style blends elements of reality and illustration.",1.0,"Shakker-Labs/FLUX.1-dev-LoRA-blended-realistic-illustration"],
|
143 |
+
["close up portrait, Amidst the interplay of light and shadows in a photography studio,a soft spotlight traces the contours of a face,highlighting a figure clad in a sleek black turtleneck. The garment,hugging the skin with subtle luxury,complements the Caucasian model's understated makeup,embodying minimalist elegance. Behind,a pale gray backdrop extends,its fine texture shimmering subtly in the dim light,artfully balancing the composition and focusing attention on the subject. In a palette of black,gray,and skin tones,simplicity intertwines with profundity,as every detail whispers untold stories.",0.9,"Shakker-Labs/AWPortrait-FL"],
|
144 |
+
["Caucasian,The image features a young woman of European descent standing in an studio setting,surrounded by silk. (She is wearing a silk dress),paired with a bold. Her brown hair is wet and tousled,falling naturally around her face,giving her a raw and edgy look. The woman has an intense and direct gaze,adding to the dramatic feel of the image. The backdrop is flowing silk,big silk. The overall composition blends elements of fashion and nature,creating a striking and powerful visual",0.9,"Shakker-Labs/AWPortrait-FL"],
|
145 |
+
["A black and white portrait of a young woman with a captivating gaze. She's bundled up in a cozy black sweater,hands gently cupped near her face. The monochromatic tones highlight her delicate features and the contemplative mood of the image",0.9,"Shakker-Labs/AWPortrait-FL"],
|
146 |
+
["Fashion photography portrait,close up portrait,(a woman of European descent is surrounded by lava rock and magma from head to neck, red magma hair, wear volcanic lava rock magma outfit coat lava rock magma fashion costume with ruffled layers",0.9,"Shakker-Labs/AWPortrait-FL"]
|
147 |
]
|
148 |
|
149 |
|