3v324v23 commited on
Commit
9ee9d9d
1 Parent(s): 4498d9d

Does this work on hf

Browse files
Files changed (3) hide show
  1. app.py +3 -1
  2. packages.txt +1 -1
  3. 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(share=True)
 
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