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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -18,7 +18,7 @@ else:
18
  MAX_SEED = np.iinfo(np.int32).max
19
  MAX_IMAGE_SIZE = 1024
20
 
21
- def infer(prompt_part1, prompt_part2, prompt_part3, prompt_part4, 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:
@@ -74,7 +74,6 @@ with gr.Blocks(css=css) as demo:
74
  container=False,
75
  elem_id="prompt_part1"
76
  )
77
- gr.Markdown(f"**Prompt Part 1:** a single")
78
 
79
  prompt_part2 = gr.Textbox(
80
  label="color",
@@ -108,7 +107,7 @@ with gr.Blocks(css=css) as demo:
108
  container=False,
109
  elem_id="prompt_part5"
110
  )
111
- gr.Markdown(f"**Prompt Part 5:** hanging on the plain grey wall")
112
 
113
  run_button = gr.Button("Run", scale=0)
114
 
 
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:
 
74
  container=False,
75
  elem_id="prompt_part1"
76
  )
 
77
 
78
  prompt_part2 = gr.Textbox(
79
  label="color",
 
107
  container=False,
108
  elem_id="prompt_part5"
109
  )
110
+
111
 
112
  run_button = gr.Button("Run", scale=0)
113