-examples
Browse files
app.py
CHANGED
@@ -109,23 +109,7 @@ with gr.Blocks() as demo:
|
|
109 |
|
110 |
image.upload(fn=resize_image, inputs=image, outputs=image, queue=False)
|
111 |
generate_btn.click(fn=sample, inputs=[image, seed, randomize_seed, motion_bucket_id, fps_id], outputs=[video, seed], api_name="video")
|
112 |
-
|
113 |
-
examples=[
|
114 |
-
"images/blink_meme.png",
|
115 |
-
"images/confused2_meme.png",
|
116 |
-
"images/disaster_meme.png",
|
117 |
-
"images/distracted_meme.png",
|
118 |
-
"images/hide_meme.png",
|
119 |
-
"images/nazare_meme.png",
|
120 |
-
"images/success_meme.png",
|
121 |
-
"images/willy_meme.png",
|
122 |
-
"images/wink_meme.png"
|
123 |
-
],
|
124 |
-
inputs=image,
|
125 |
-
outputs=[video, seed],
|
126 |
-
fn=sample,
|
127 |
-
cache_examples="lazy",
|
128 |
-
)
|
129 |
|
130 |
if __name__ == "__main__":
|
131 |
#demo.queue(max_size=20, api_open=False)
|
|
|
109 |
|
110 |
image.upload(fn=resize_image, inputs=image, outputs=image, queue=False)
|
111 |
generate_btn.click(fn=sample, inputs=[image, seed, randomize_seed, motion_bucket_id, fps_id], outputs=[video, seed], api_name="video")
|
112 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
if __name__ == "__main__":
|
115 |
#demo.queue(max_size=20, api_open=False)
|