Does this work on hf
Browse files- app.py +3 -1
- packages.txt +1 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -11,6 +11,8 @@ from animate import create_mp4_with_audio, get_video_frames
|
|
11 |
# My installs
|
12 |
output_dir = Path("temp/").absolute()
|
13 |
output_dir.mkdir(exist_ok=True, parents=True)
|
|
|
|
|
14 |
|
15 |
os.chdir(
|
16 |
output_dir
|
@@ -116,4 +118,4 @@ iface = gr.Interface(
|
|
116 |
)
|
117 |
|
118 |
|
119 |
-
iface.launch(
|
|
|
11 |
# My installs
|
12 |
output_dir = Path("temp/").absolute()
|
13 |
output_dir.mkdir(exist_ok=True, parents=True)
|
14 |
+
subprocess.call(["git", "submodule", "update", "--init", "--recursive"]) # install frame_interplation
|
15 |
+
|
16 |
|
17 |
os.chdir(
|
18 |
output_dir
|
|
|
118 |
)
|
119 |
|
120 |
|
121 |
+
iface.launch()
|
packages.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
ffmpeg
|
|
|
1 |
+
ffmpeg
|
requirements.txt
CHANGED
@@ -19,4 +19,5 @@ google-cloud-bigquery-storage==1.1.0 # Suppresses a harmless error from beam
|
|
19 |
natsort==8.1.0
|
20 |
image-tools
|
21 |
opencv-python==4.6.0.66
|
22 |
-
moviepy==1.0.3
|
|
|
|
19 |
natsort==8.1.0
|
20 |
image-tools
|
21 |
opencv-python==4.6.0.66
|
22 |
+
moviepy==1.0.3
|
23 |
+
mediapy
|