Spaces:
Running
Running
Clean up
Browse files
app.py
CHANGED
@@ -80,13 +80,25 @@ def main():
|
|
80 |
gr.Markdown(FOOTER)
|
81 |
|
82 |
generate_button1.click(model.generate_single_image,
|
83 |
-
inputs=[
|
|
|
|
|
|
|
84 |
outputs=generated_image1)
|
85 |
generate_button2.click(model.generate_single_image,
|
86 |
-
inputs=[
|
|
|
|
|
|
|
87 |
outputs=generated_image2)
|
88 |
interpolate_button.click(model.generate_interpolated_images,
|
89 |
-
inputs=[
|
|
|
|
|
|
|
|
|
|
|
|
|
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(
|