slymnyldrm commited on
Commit
54aab52
·
1 Parent(s): fef2ff0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,8 +39,8 @@ with gr.Blocks() as demo:
39
  with gr.Column():
40
  gallery = gr.Gallery()
41
  with gr.Row():
42
- g_seed = gr.Number(label="Random Number Generator Seed", value=52362)
43
 
44
- run.click(inference, inputs=[prompt, negative_prompt, num_samples, height, width, num_inference_steps, guidance_scale, int(g_seed)], outputs=gallery)
45
 
46
  demo.launch()
 
39
  with gr.Column():
40
  gallery = gr.Gallery()
41
  with gr.Row():
42
+ g_seed = gr.Number(label="Random Number Generator Seed", value=52362, dtype=int)
43
 
44
+ run.click(inference, inputs=[prompt, negative_prompt, num_samples, height, width, num_inference_steps, guidance_scale, g_seed], outputs=gallery)
45
 
46
  demo.launch()