Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -170,12 +170,12 @@ def generate(
|
|
170 |
|
171 |
|
172 |
examples = [
|
173 |
-
['./walking.mp4', "Diffutoon", "A woman walking on the street"],
|
174 |
-
['./smilegirl.mp4', "Diffutoon", "A girl stand on the grass"],
|
175 |
-
['./working.mp4', "Diffutoon", "A woman is doing the dishes"],
|
176 |
-
["./train.jpg", "ExVideo", ""],
|
177 |
-
["./girl.webp", "ExVideo", ""],
|
178 |
-
["./robo.jpg", "ExVideo", ""],
|
179 |
]
|
180 |
|
181 |
|
@@ -258,7 +258,7 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
|
|
258 |
|
259 |
gr.Examples(
|
260 |
examples=examples,
|
261 |
-
inputs=[
|
262 |
examples_per_page=4,
|
263 |
)
|
264 |
selected.change(change_media, inputs=[image_in, video_in, selected], outputs=[image_in, video_in, media, prompt])
|
|
|
170 |
|
171 |
|
172 |
examples = [
|
173 |
+
['./walking.mp4', "", "Diffutoon", "A woman walking on the street"],
|
174 |
+
['./smilegirl.mp4', "", "Diffutoon", "A girl stand on the grass"],
|
175 |
+
['./working.mp4', "", "Diffutoon", "A woman is doing the dishes"],
|
176 |
+
["", "./train.jpg", "ExVideo", ""],
|
177 |
+
["", "./girl.webp", "ExVideo", ""],
|
178 |
+
["", "./robo.jpg", "ExVideo", ""],
|
179 |
]
|
180 |
|
181 |
|
|
|
258 |
|
259 |
gr.Examples(
|
260 |
examples=examples,
|
261 |
+
inputs=[video_in, image_in, selected, prompt],
|
262 |
examples_per_page=4,
|
263 |
)
|
264 |
selected.change(change_media, inputs=[image_in, video_in, selected], outputs=[image_in, video_in, media, prompt])
|