gaur3009 commited on
Commit
10a1f0d
·
verified ·
1 Parent(s): 0500dc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ MAX_SEED = np.iinfo(np.int32).max
19
  MAX_IMAGE_SIZE = 1024
20
 
21
  def infer(prompt_part1, color, dress_type, design, prompt_part5, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
22
- prompt = f"Generate 4k images of both front view and back view seperately of {prompt_part1} {color} colored plain {dress_type} with {design} design, {prompt_part5} where front view and back view of the dress should be perfectly correlated"
23
 
24
  if randomize_seed:
25
  seed = random.randint(0, MAX_SEED)
 
19
  MAX_IMAGE_SIZE = 1024
20
 
21
  def infer(prompt_part1, color, dress_type, design, prompt_part5, negative_prompt, seed, randomize_seed, width, height, guidance_scale, num_inference_steps):
22
+ prompt = f"A 4k image of {prompt_part1} {color}-colored {dress_type} with {design}, {prompt_part5}. The image should include both the front view and the back view of the {dress_type}, displayed separately but in the same frame. The {dress_type}'s front view should showcase the details of the front design clearly, with {color} fabric and {design}. The back view should be perfectly correlated with the front view, maintaining the same pattern and alignment of the {color} fabric and {design}. Ensure that both views are detailed, well-lit, and clearly show the continuity of the design from the front to the back, making it evident that the back part of the {dress_type} corresponds to the front view's back part."
23
 
24
  if randomize_seed:
25
  seed = random.randint(0, MAX_SEED)