gina9726 commited on
Commit
812b68c
1 Parent(s): 03a1b99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -6,11 +6,15 @@ def greet(name):
6
  def video_identity(video):
7
  return video
8
 
9
- video_url = "https://ak.picdn.net/shutterstock/videos/21179416/preview/stock-footage-aerial-shot-winter-forest.mp4"
 
 
 
 
10
  iface = gr.Interface(video_identity,
11
  gr.Video(),
12
  "playable_video",
13
- examples=[video_url],
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")