KingNish commited on
Commit
8346972
·
verified ·
1 Parent(s): 3417b1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -146,7 +146,6 @@ def generate(
146
  height: int = 1024,
147
  inference_steps: int = 4,
148
  randomize_seed: bool = False,
149
- num_images_per_prompt=NUM_IMAGES_PER_PROMPT,
150
  use_resolution_binning: bool = True,
151
  progress=gr.Progress(track_tqdm=True),
152
  ):
@@ -233,6 +232,12 @@ with gr.Blocks() as demo:
233
  choices=STYLE_NAMES,
234
  value=DEFAULT_STYLE_NAME,
235
  label="Image Style",
 
 
 
 
 
 
236
  )
237
  seed = gr.Slider(
238
  label="Seed",
 
146
  height: int = 1024,
147
  inference_steps: int = 4,
148
  randomize_seed: bool = False,
 
149
  use_resolution_binning: bool = True,
150
  progress=gr.Progress(track_tqdm=True),
151
  ):
 
232
  choices=STYLE_NAMES,
233
  value=DEFAULT_STYLE_NAME,
234
  label="Image Style",
235
+ )
236
+ negative_prompt = gr.Text(
237
+ label="Negative prompt",
238
+ max_lines=1,
239
+ placeholder="Enter a negative prompt",
240
+ visible=True,
241
  )
242
  seed = gr.Slider(
243
  label="Seed",