gina9726 commited on
Commit
b14f147
·
verified ·
1 Parent(s): 812b68c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -4,7 +4,7 @@ def greet(name):
4
  return "Hello " + name + "!!"
5
 
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",
@@ -14,7 +14,8 @@ examples = [
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")
 
4
  return "Hello " + name + "!!"
5
 
6
  def video_identity(video):
7
+ return label
8
 
9
  examples = [
10
  "https://ak.picdn.net/shutterstock/videos/21179416/preview/stock-footage-aerial-shot-winter-forest.mp4",
 
14
  iface = gr.Interface(video_identity,
15
  gr.Video(),
16
  "playable_video",
17
+ examples=examples,
18
+ outputs="label",
19
  cache_examples=True)
20
 
21
  #iface = gr.Interface(fn=greet, inputs="text", outputs="text")