gaur3009 commited on
Commit
fc5c76a
1 Parent(s): 7bb5d75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -18,8 +18,8 @@ else:
18
  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"{prompt_part1} {color} {dress-type} {design} {prompt_part5}"
23
 
24
  if randomize_seed:
25
  seed = random.randint(0, MAX_SEED)
@@ -84,10 +84,10 @@ with gr.Blocks(css=css) as demo:
84
  )
85
 
86
  prompt_part3 = gr.Textbox(
87
- label="dress-type",
88
  show_label=False,
89
  max_lines=1,
90
- placeholder="dress-type (e.g., t-shirt, sweatshirt, shirt, hoodie)",
91
  container=False,
92
  )
93
 
 
18
  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"{prompt_part1} {color} {dress_type} {design} {prompt_part5}"
23
 
24
  if randomize_seed:
25
  seed = random.randint(0, MAX_SEED)
 
84
  )
85
 
86
  prompt_part3 = gr.Textbox(
87
+ label="dress_type",
88
  show_label=False,
89
  max_lines=1,
90
+ placeholder="dress_type (e.g., t-shirt, sweatshirt, shirt, hoodie)",
91
  container=False,
92
  )
93