gaur3009 commited on
Commit
f00de50
·
verified ·
1 Parent(s): 9ebfd06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,8 +14,8 @@ trigger_word = "T shirt design, TshirtDesignAF, "
14
  def infer(color_prompt, dress_type_prompt, design_prompt, text):
15
  # Build the full prompt
16
  prompt = (
17
- f"a single {color_prompt} colored {dress_type_prompt} {design_prompt} "
18
- "hangs effortlessly on a wall, its simplicity transformed by bold"
19
  )
20
 
21
  # Conditional parts
@@ -26,7 +26,7 @@ def infer(color_prompt, dress_type_prompt, design_prompt, text):
26
  )
27
 
28
  # Add the hidden shadows part
29
- prompt += f"Soft light casts dynamic shadows, adding depth and emphasizing the crisp lines of the design, evoking a sense of modern sophistication."
30
 
31
  full_prompt = f"{prompt} {trigger_word}"
32
 
 
14
  def infer(color_prompt, dress_type_prompt, design_prompt, text):
15
  # Build the full prompt
16
  prompt = (
17
+ f"a single {color_prompt} colored {dress_type_prompt} with {design_prompt} on {dress_type_prompt}"
18
+ "hangs effortlessly on a wall, its simplicity transformed by bold,"
19
  )
20
 
21
  # Conditional parts
 
26
  )
27
 
28
  # Add the hidden shadows part
29
+ prompt += f"soft light casts dynamic shadows, adding depth and emphasizing the crisp lines of the design, evoking a sense of modern sophistication."
30
 
31
  full_prompt = f"{prompt} {trigger_word}"
32