Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -6,11 +6,15 @@ def greet(name):
|
|
6 |
def video_identity(video):
|
7 |
return video
|
8 |
|
9 |
-
|
|
|
|
|
|
|
|
|
10 |
iface = gr.Interface(video_identity,
|
11 |
gr.Video(),
|
12 |
"playable_video",
|
13 |
-
examples=
|
14 |
cache_examples=True)
|
15 |
|
16 |
#iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
6 |
def video_identity(video):
|
7 |
return video
|
8 |
|
9 |
+
examples = [
|
10 |
+
"https://ak.picdn.net/shutterstock/videos/21179416/preview/stock-footage-aerial-shot-winter-forest.mp4",
|
11 |
+
"https://ak.picdn.net/shutterstock/videos/5629184/preview/stock-footage-senior-couple-looking-through-binoculars-on-sailboat-together-shot-on-red-epic-for-high-quality-k.mp4",
|
12 |
+
"https://ak.picdn.net/shutterstock/videos/1063125190/preview/stock-footage-a-beautiful-cookie-with-oranges-lies-on-a-green-tablecloth.mp4"
|
13 |
+
]
|
14 |
iface = gr.Interface(video_identity,
|
15 |
gr.Video(),
|
16 |
"playable_video",
|
17 |
+
examples=examples,
|
18 |
cache_examples=True)
|
19 |
|
20 |
#iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|