Krebzonide commited on
Commit
552c858
·
1 Parent(s): 2d8443d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -99,8 +99,7 @@ with gr.Blocks(css=css) as demo:
99
  gallery = gr.Gallery(show_label=False, preview=True, container=False)
100
  with gr.Row():
101
  lastSeed = gr.Number(label="Last Seed", value=-1, interactive=False)
102
- ex = gr.Examples(examples=examples, inputs=[prompt, negative_prompt])
103
- submit_btn.click(generate, [prompt, samp_steps, batch_size, seed, height, width], [gallery, lastSeed], queue=True)
104
 
105
  pipe = set_base_model(model_id)
106
  demo.launch(debug=True)
 
99
  gallery = gr.Gallery(show_label=False, preview=True, container=False)
100
  with gr.Row():
101
  lastSeed = gr.Number(label="Last Seed", value=-1, interactive=False)
102
+ submit_btn.click(generate, [prompt, samp_steps, batch_size, seed], [gallery, lastSeed], queue=True)
 
103
 
104
  pipe = set_base_model(model_id)
105
  demo.launch(debug=True)