Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -28,15 +28,12 @@ video_files = [
|
|
28 |
"/path/to/NEARHUBanimation.mp4",
|
29 |
]
|
30 |
|
31 |
-
#
|
32 |
-
|
33 |
-
|
34 |
-
# Launch a huggingface interface that allows you to play the transcoded video file.
|
35 |
-
demo = hfs.Interface(transcode_video,
|
36 |
-
hfs.components.Video(),
|
37 |
"playable_video",
|
38 |
examples=video_files,
|
39 |
cache_examples=True)
|
40 |
|
41 |
if __name__ == "__main__":
|
42 |
-
demo.launch()
|
|
|
28 |
"/path/to/NEARHUBanimation.mp4",
|
29 |
]
|
30 |
|
31 |
+
# Launch a gradio interface that allows you to play the transcoded video file.
|
32 |
+
demo = gr.Interface(transcode_video,
|
33 |
+
gr.components.Video(),
|
|
|
|
|
|
|
34 |
"playable_video",
|
35 |
examples=video_files,
|
36 |
cache_examples=True)
|
37 |
|
38 |
if __name__ == "__main__":
|
39 |
+
demo.launch()
|