Spaces:
Runtime error
Runtime error
Remove the examples
#3
by
Fabrice-TIERCELIN
- opened
app.py
CHANGED
|
@@ -97,23 +97,6 @@ with gr.Blocks() as demo:
|
|
| 97 |
|
| 98 |
image.upload(fn=resize_image, inputs=image, outputs=image, queue=False)
|
| 99 |
generate_btn.click(fn=sample, inputs=[image, seed, randomize_seed, motion_bucket_id, fps_id], outputs=[video, seed], api_name="video")
|
| 100 |
-
gr.Examples(
|
| 101 |
-
examples=[
|
| 102 |
-
"images/blink_meme.png",
|
| 103 |
-
"images/confused2_meme.png",
|
| 104 |
-
"images/disaster_meme.png",
|
| 105 |
-
"images/distracted_meme.png",
|
| 106 |
-
"images/hide_meme.png",
|
| 107 |
-
"images/nazare_meme.png",
|
| 108 |
-
"images/success_meme.png",
|
| 109 |
-
"images/willy_meme.png",
|
| 110 |
-
"images/wink_meme.png"
|
| 111 |
-
],
|
| 112 |
-
inputs=image,
|
| 113 |
-
outputs=[video, seed],
|
| 114 |
-
fn=sample,
|
| 115 |
-
cache_examples=True,
|
| 116 |
-
)
|
| 117 |
|
| 118 |
if __name__ == "__main__":
|
| 119 |
demo.queue(max_size=20, api_open=False)
|
|
|
|
| 97 |
|
| 98 |
image.upload(fn=resize_image, inputs=image, outputs=image, queue=False)
|
| 99 |
generate_btn.click(fn=sample, inputs=[image, seed, randomize_seed, motion_bucket_id, fps_id], outputs=[video, seed], api_name="video")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
|
| 101 |
if __name__ == "__main__":
|
| 102 |
demo.queue(max_size=20, api_open=False)
|