Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ def greet(name):
|
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
def video_identity(video):
|
7 |
-
return
|
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")
|