yucornetto commited on
Commit
b17e7eb
1 Parent(s): df1f51c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -84,7 +84,7 @@ with gr.Blocks() as demo:
84
  button = gr.Button("Generate", variant="primary")
85
  with gr.Column():
86
  output = gr.Gallery(label='Generated Images', height=700)
87
- button.click(demo_util.sample_fn, inputs=[
88
  guidance_scale, randomize_temperature, num_sample_steps,
89
  i1k_class, seed],
90
  outputs=[output])
 
84
  button = gr.Button("Generate", variant="primary")
85
  with gr.Column():
86
  output = gr.Gallery(label='Generated Images', height=700)
87
+ button.click(demo_infer, inputs=[
88
  guidance_scale, randomize_temperature, num_sample_steps,
89
  i1k_class, seed],
90
  outputs=[output])