r3gm commited on
Commit
4053aa4
·
verified ·
1 Parent(s): 802de5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -3,6 +3,21 @@ import subprocess
3
  import os
4
  import spaces
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  # The name of your script
7
  SCRIPT_NAME = "inference_video.py"
8
 
 
3
  import os
4
  import spaces
5
 
6
+ # Download the file
7
+ subprocess.run([
8
+ "wget",
9
+ "--no-check-certificate",
10
+ "https://drive.google.com/uc?id=1mj9lH6Be7ztYtHAr1xUUGT3hRtWJBy_5",
11
+ "-O",
12
+ "RIFE_trained_model_v4.13.2.zip"
13
+ ], check=True)
14
+
15
+ # Unzip the downloaded file
16
+ subprocess.run([
17
+ "unzip",
18
+ "RIFE_trained_model_v4.13.2.zip"
19
+ ], check=True)
20
+
21
  # The name of your script
22
  SCRIPT_NAME = "inference_video.py"
23