linoyts HF Staff commited on
Commit
4f1e83c
·
verified ·
1 Parent(s): fcf0b09

make negative prompt visible

Browse files
Files changed (1) hide show
  1. app.py +8 -10
app.py CHANGED
@@ -163,15 +163,6 @@ with gr.Blocks(css=css, theme=gr.themes.Citrus()) as demo:
163
  info = "TIP: detail both the masked area and the background",
164
  container=False,
165
  )
166
- negative_prompt = gr.Text(
167
- label="Negative Prompt",
168
- show_label=True,
169
- max_lines=1,
170
- placeholder="Enter what you don't want (optional)",
171
- container=False,
172
- value=" ",
173
- visible=False
174
- )
175
  run_button = gr.Button("Run")
176
 
177
  with gr.Column():
@@ -189,7 +180,14 @@ with gr.Blocks(css=css, theme=gr.themes.Citrus()) as demo:
189
  )
190
 
191
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
192
-
 
 
 
 
 
 
 
193
 
194
  with gr.Row():
195
  strength = gr.Slider(
 
163
  info = "TIP: detail both the masked area and the background",
164
  container=False,
165
  )
 
 
 
 
 
 
 
 
 
166
  run_button = gr.Button("Run")
167
 
168
  with gr.Column():
 
180
  )
181
 
182
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
183
+ negative_prompt = gr.Text(
184
+ label="Negative Prompt",
185
+ show_label=True,
186
+ max_lines=1,
187
+ placeholder="Enter what you don't want (optional)",
188
+ container=False,
189
+ value=" ",
190
+ )
191
 
192
  with gr.Row():
193
  strength = gr.Slider(