hysts HF staff commited on
Commit
5838d81
1 Parent(s): f9c22c7
Files changed (1) hide show
  1. app.py +15 -3
app.py CHANGED
@@ -80,13 +80,25 @@ def main():
80
  gr.Markdown(FOOTER)
81
 
82
  generate_button1.click(model.generate_single_image,
83
- inputs=[seed1, psi1],
 
 
 
84
  outputs=generated_image1)
85
  generate_button2.click(model.generate_single_image,
86
- inputs=[seed2, psi2],
 
 
 
87
  outputs=generated_image2)
88
  interpolate_button.click(model.generate_interpolated_images,
89
- inputs=[seed1, psi1, seed2, psi2, num_frames],
 
 
 
 
 
 
90
  outputs=interpolated_images)
91
 
92
  demo.launch(
 
80
  gr.Markdown(FOOTER)
81
 
82
  generate_button1.click(model.generate_single_image,
83
+ inputs=[
84
+ seed1,
85
+ psi1,
86
+ ],
87
  outputs=generated_image1)
88
  generate_button2.click(model.generate_single_image,
89
+ inputs=[
90
+ seed2,
91
+ psi2,
92
+ ],
93
  outputs=generated_image2)
94
  interpolate_button.click(model.generate_interpolated_images,
95
+ inputs=[
96
+ seed1,
97
+ psi1,
98
+ seed2,
99
+ psi2,
100
+ num_frames,
101
+ ],
102
  outputs=interpolated_images)
103
 
104
  demo.launch(