Spaces:
Running
Running
girishwangikar
commited on
Commit
•
2bad515
1
Parent(s):
d1ae175
Update app.py
Browse files
app.py
CHANGED
@@ -24,10 +24,10 @@ client = InferenceClient("black-forest-labs/FLUX.1-schnell")
|
|
24 |
few_shot_examples = [
|
25 |
("Create a birthday card for friend",
|
26 |
"A vibrant birthday card with a colorful confetti background, featuring a large, playful 'Happy Birthday!' in the center. The card has a fun, festive theme with balloons, streamers, and a cupcake with a single lit candle. The message inside reads, 'Wishing you a day full of laughter and joy!'",
|
27 |
-
"example1.
|
28 |
("An educational infographic showing the stages of the water cycle with bright, engaging visuals.",
|
29 |
"An educational infographic illustrating the water cycle. The diagram shows labeled stages including evaporation, condensation, precipitation, and collection, with arrows guiding the flow. The colors are bright and engaging, with clouds, raindrops, and a sun. The design is simple and clear, suitable for a classroom setting.",
|
30 |
-
"example2.
|
31 |
]
|
32 |
|
33 |
def generate_detailed_prompt(user_input):
|
|
|
24 |
few_shot_examples = [
|
25 |
("Create a birthday card for friend",
|
26 |
"A vibrant birthday card with a colorful confetti background, featuring a large, playful 'Happy Birthday!' in the center. The card has a fun, festive theme with balloons, streamers, and a cupcake with a single lit candle. The message inside reads, 'Wishing you a day full of laughter and joy!'",
|
27 |
+
"example1.webp"),
|
28 |
("An educational infographic showing the stages of the water cycle with bright, engaging visuals.",
|
29 |
"An educational infographic illustrating the water cycle. The diagram shows labeled stages including evaporation, condensation, precipitation, and collection, with arrows guiding the flow. The colors are bright and engaging, with clouds, raindrops, and a sun. The design is simple and clear, suitable for a classroom setting.",
|
30 |
+
"example2.webp"),
|
31 |
]
|
32 |
|
33 |
def generate_detailed_prompt(user_input):
|