Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -213,17 +213,17 @@ with gr.Blocks(title="Lucy Edit - Video Editing with Text", css=css) as demo:
|
|
| 213 |
with gr.Column(scale=1):
|
| 214 |
video_output = gr.Video(label="Edited Video")
|
| 215 |
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
|
| 228 |
# Event handlers
|
| 229 |
generate_btn.click(
|
|
|
|
| 213 |
with gr.Column(scale=1):
|
| 214 |
video_output = gr.Video(label="Edited Video")
|
| 215 |
|
| 216 |
+
gr.Examples(
|
| 217 |
+
examples=[
|
| 218 |
+
["examples/man_walking.mp4", "make the man into an alien"],
|
| 219 |
+
["examples/leopard.mp4", "make the leopard into a lion"],
|
| 220 |
+
["examples/woman.mp4", "make the woman's coat blue"],
|
| 221 |
+
],
|
| 222 |
+
inputs=[video_input, prompt],
|
| 223 |
+
outputs=video_output,
|
| 224 |
+
fn=process_video,
|
| 225 |
+
cache_examples="lazy",
|
| 226 |
+
)
|
| 227 |
|
| 228 |
# Event handlers
|
| 229 |
generate_btn.click(
|