Krebzonide commited on
Commit
bb307d3
·
1 Parent(s): 5626083

inputs not input ,'/

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks(css=css) as demo:
105
  pixels = gr.Number(label="Pixel Ratio", value=1, interactive=False)
106
  seed = gr.Number(label="Seed", value=-1, minimum=-1, precision=0)
107
  gallery = gr.Gallery(label="Generated images", height=800)
108
- ex = gr.Examples(examples=examples, input=[prompt, negative_prompt])
109
  submit_btn.click(generate, [prompt, negative_prompt, samp_steps, guide_scale, batch_size, seed, height, width], [gallery], queue=True)
110
  height.change(update_pixel_ratio, [height, width], [pixels], queue=False)
111
  width.change(update_pixel_ratio, [height, width], [pixels], queue=False)
 
105
  pixels = gr.Number(label="Pixel Ratio", value=1, interactive=False)
106
  seed = gr.Number(label="Seed", value=-1, minimum=-1, precision=0)
107
  gallery = gr.Gallery(label="Generated images", height=800)
108
+ ex = gr.Examples(examples=examples, inputs=[prompt, negative_prompt])
109
  submit_btn.click(generate, [prompt, negative_prompt, samp_steps, guide_scale, batch_size, seed, height, width], [gallery], queue=True)
110
  height.change(update_pixel_ratio, [height, width], [pixels], queue=False)
111
  width.change(update_pixel_ratio, [height, width], [pixels], queue=False)