ChenoAi commited on
Commit
180722c
1 Parent(s): 4554c78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -190,7 +190,12 @@ with gr.Blocks(css=css, theme=gr.themes.Base()) as demo:
190
  result = gr.Gallery(label="Result", columns=1, preview=True)
191
  with gr.Accordion("Advanced options", open=False):
192
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False, visible=True)
193
- #use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
 
 
 
 
 
194
  with gr.Row():
195
  num_inference_steps = gr.Slider(
196
  label="Steps",
 
190
  result = gr.Gallery(label="Result", columns=1, preview=True)
191
  with gr.Accordion("Advanced options", open=False):
192
  use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False, visible=True)
193
+ negative_prompt = gr.Text(
194
+ label="Negative prompt",
195
+ max_lines=1,
196
+ placeholder="Enter a negative prompt",
197
+ visible=True,
198
+ )
199
  with gr.Row():
200
  num_inference_steps = gr.Slider(
201
  label="Steps",