Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
•
cb52d14
1
Parent(s):
56d7879
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
from torchvision.io import read_video,write_video
|
4 |
def video_identity(video):
|
5 |
video, _, _ = read_video(video, output_format="TCHW")
|
6 |
-
return type(video)
|
7 |
|
8 |
with gr.Blocks() as demo:
|
9 |
vid = gr.Video()
|
|
|
3 |
from torchvision.io import read_video,write_video
|
4 |
def video_identity(video):
|
5 |
video, _, _ = read_video(video, output_format="TCHW")
|
6 |
+
return str(type(video))
|
7 |
|
8 |
with gr.Blocks() as demo:
|
9 |
vid = gr.Video()
|