Jeffgold commited on
Commit
d8d77f6
·
1 Parent(s): 0a697bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -1,10 +1,7 @@
1
- import huggingface_spaces as hfs
2
 
3
  # Create a space.
4
- space = hfs.create_space("my-space")
5
-
6
- # Install the `ffmpeg-input` module in the space.
7
- space.install_package("ffmpeg-input")
8
 
9
  # Upload the video file to the space.
10
  space.upload_file("/path/to/NEARHUBanimation.mp4")
@@ -20,4 +17,4 @@ demo = gr.Interface(transcode_video,
20
  cache_examples=True)
21
 
22
  if __name__ == "__main__":
23
- demo.launch()
 
1
+ import gradio as gr
2
 
3
  # Create a space.
4
+ space = gr.create_space("my-space")
 
 
 
5
 
6
  # Upload the video file to the space.
7
  space.upload_file("/path/to/NEARHUBanimation.mp4")
 
17
  cache_examples=True)
18
 
19
  if __name__ == "__main__":
20
+ demo.launch()