linoyts HF Staff commited on
Commit
1a236aa
·
verified ·
1 Parent(s): ddd3c88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -126,7 +126,15 @@ with gr.Blocks(css=css, theme=gr.themes.Ocean()) as demo:
126
  num_frames = gr.Slider(label="# frames", minimum=1, maximum=200, value=161, step=1)
127
 
128
 
129
-
 
 
 
 
 
 
 
 
130
 
131
 
132
  demo.launch()
 
126
  num_frames = gr.Slider(label="# frames", minimum=1, maximum=200, value=161, step=1)
127
 
128
 
129
+ run_button.click(fn=generate,
130
+ inputs=[prompt,
131
+ negative_prompt,
132
+ image,
133
+ steps,
134
+ num_frames,
135
+ seed,
136
+ randomize_seed],
137
+ outputs=[output])
138
 
139
 
140
  demo.launch()