Spaces:
Build error
Build error
Ubuntu
commited on
Commit
·
ef9a8d7
1
Parent(s):
99e245d
- .ipynb_checkpoints/app-checkpoint.py +3 -5
- app.py +3 -5
.ipynb_checkpoints/app-checkpoint.py
CHANGED
|
@@ -3,12 +3,10 @@ import os
|
|
| 3 |
|
| 4 |
|
| 5 |
def video_identity(video):
|
| 6 |
-
|
|
|
|
| 7 |
demo = gr.Interface(video_identity,
|
| 8 |
gr.Video(),
|
| 9 |
-
|
| 10 |
-
examples=[
|
| 11 |
-
os.path.join(os.path.dirname(__file__),
|
| 12 |
-
"video/video_sample.mp4")],
|
| 13 |
cache_examples=True)
|
| 14 |
demo.launch()
|
|
|
|
| 3 |
|
| 4 |
|
| 5 |
def video_identity(video):
|
| 6 |
+
message='got your video thanks'
|
| 7 |
+
return message
|
| 8 |
demo = gr.Interface(video_identity,
|
| 9 |
gr.Video(),
|
| 10 |
+
'text',
|
|
|
|
|
|
|
|
|
|
| 11 |
cache_examples=True)
|
| 12 |
demo.launch()
|
app.py
CHANGED
|
@@ -3,12 +3,10 @@ import os
|
|
| 3 |
|
| 4 |
|
| 5 |
def video_identity(video):
|
| 6 |
-
|
|
|
|
| 7 |
demo = gr.Interface(video_identity,
|
| 8 |
gr.Video(),
|
| 9 |
-
|
| 10 |
-
examples=[
|
| 11 |
-
os.path.join(os.path.dirname(__file__),
|
| 12 |
-
"video/video_sample.mp4")],
|
| 13 |
cache_examples=True)
|
| 14 |
demo.launch()
|
|
|
|
| 3 |
|
| 4 |
|
| 5 |
def video_identity(video):
|
| 6 |
+
message='got your video thanks'
|
| 7 |
+
return message
|
| 8 |
demo = gr.Interface(video_identity,
|
| 9 |
gr.Video(),
|
| 10 |
+
'text',
|
|
|
|
|
|
|
|
|
|
| 11 |
cache_examples=True)
|
| 12 |
demo.launch()
|