Spaces:
Runtime error
Runtime error
Update app_new.py
Browse files- app_new.py +4 -7
app_new.py
CHANGED
@@ -132,12 +132,9 @@ def generate(
|
|
132 |
|
133 |
|
134 |
examples = [
|
135 |
-
['./walking.mp4', None, "
|
136 |
-
['./smilegirl.mp4', None, "
|
137 |
-
['./working.mp4', None, "
|
138 |
-
[None, "./train.jpg", "ExVideo", ""],
|
139 |
-
[None, "./girl.webp", "ExVideo", ""],
|
140 |
-
[None, "./robo.jpg", "ExVideo", ""],
|
141 |
]
|
142 |
|
143 |
|
@@ -225,7 +222,7 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
|
|
225 |
gr.Examples(
|
226 |
examples=examples,
|
227 |
fn=generate,
|
228 |
-
inputs=[video_in, image_in,
|
229 |
outputs=[video, seed],
|
230 |
cache_examples="lazy",
|
231 |
examples_per_page=4,
|
|
|
132 |
|
133 |
|
134 |
examples = [
|
135 |
+
['./walking.mp4', None, "A woman walking on the street"],
|
136 |
+
['./smilegirl.mp4', None, "A girl stand on the grass"],
|
137 |
+
['./working.mp4', None, "A woman is doing the dishes"],
|
|
|
|
|
|
|
138 |
]
|
139 |
|
140 |
|
|
|
222 |
gr.Examples(
|
223 |
examples=examples,
|
224 |
fn=generate,
|
225 |
+
inputs=[video_in, image_in, prompt],
|
226 |
outputs=[video, seed],
|
227 |
cache_examples="lazy",
|
228 |
examples_per_page=4,
|