Update app.py
Browse files
app.py
CHANGED
@@ -12,20 +12,14 @@ repo = "artificialguybr/TshirtDesignRedmond-V2"
|
|
12 |
def infer(color_prompt, dress_type_prompt, design_prompt, text):
|
13 |
# Build the full prompt
|
14 |
prompt = (
|
15 |
-
f"
|
16 |
-
|
17 |
-
)
|
18 |
-
|
19 |
# Conditional parts
|
20 |
if text:
|
21 |
prompt += (
|
22 |
-
f" and {text} written on the {dress_type_prompt}"
|
23 |
-
"The contrast between the text and the calm background creates a striking visual"
|
24 |
)
|
25 |
-
|
26 |
-
# Add the hidden shadows part
|
27 |
-
prompt += f"soft light casts dynamic shadows, adding depth and emphasizing the crisp lines of the design, evoking a sense of modern sophistication."
|
28 |
-
|
29 |
full_prompt = f"{prompt}"
|
30 |
|
31 |
print("Generating image with prompt:", full_prompt)
|
|
|
12 |
def infer(color_prompt, dress_type_prompt, design_prompt, text):
|
13 |
# Build the full prompt
|
14 |
prompt = (
|
15 |
+
f"A single {color_prompt} colored {dress_type_prompt} with a bold, detailed {design_prompt} design printed on the front of the {dress_type_prompt}, hangs effortlessly on a plain wall, its simplicity transformed by bold. The simplicity of the {dress_type_prompt} is transformed by the vibrant design, while soft light casts dynamic shadows, adding depth and emphasizing the crisp lines of the artwork.
|
16 |
+
)
|
|
|
|
|
17 |
# Conditional parts
|
18 |
if text:
|
19 |
prompt += (
|
20 |
+
f" and {text} written on the {dress_type_prompt}. The contrast between the text and the calm background creates a striking visual"
|
|
|
21 |
)
|
22 |
+
prompt += f"The image evokes a sense of modern sophistication, focusing solely on the {dress_type_prompt} and its design"
|
|
|
|
|
|
|
23 |
full_prompt = f"{prompt}"
|
24 |
|
25 |
print("Generating image with prompt:", full_prompt)
|