Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,10 +40,11 @@ iface = gr.Interface(
|
|
| 40 |
],
|
| 41 |
outputs=gr.Video(label="Generated Video"),
|
| 42 |
title="Stable Video Diffusion",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
description="Generate a video from an uploaded image using Stable Video Diffusion.",
|
| 44 |
)
|
| 45 |
-
|
| 46 |
-
example_image = "image.jpeg"
|
| 47 |
-
example_video = "videos/generated.mp4"
|
| 48 |
# Launch the interface
|
| 49 |
iface.launch()
|
|
|
|
| 40 |
],
|
| 41 |
outputs=gr.Video(label="Generated Video"),
|
| 42 |
title="Stable Video Diffusion",
|
| 43 |
+
examples=[
|
| 44 |
+
[image.jpeg],
|
| 45 |
+
[videos/generated.mp4]
|
| 46 |
+
]
|
| 47 |
description="Generate a video from an uploaded image using Stable Video Diffusion.",
|
| 48 |
)
|
|
|
|
|
|
|
|
|
|
| 49 |
# Launch the interface
|
| 50 |
iface.launch()
|