Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,16 +7,12 @@ os.umask(0)
|
|
7 |
os.makedirs('output', exist_ok=True)
|
8 |
os.chdir('VQ-Trans')
|
9 |
os.umask(0)
|
10 |
-
os.system('gdown --fuzzy https://drive.google.com/file/d/1chKRmW2vNX5Lz6dPO45WY1qVNUkoJJ5D/view')
|
11 |
-
os.system('gdown --fuzzy https://drive.google.com/file/d/1cgUVeGwPU7PzTDx20CAijt18fNhtnOPq/view')
|
12 |
# os.system('gdown --fuzzy https://drive.google.com/file/d/1o7RTDQcToJjTm9_mNWTyzvZvjTWpZfug/view -O checkpoints/')
|
13 |
# os.system('gdown --fuzzy https://drive.google.com/file/d/1tX79xk0fflp07EZ660Xz1RAFE33iEyJR/view -O checkpoints/')
|
14 |
-
os.system('unzip t2m.zip')
|
15 |
-
os.system('unzip kit.zip')
|
16 |
-
os.system('mv kit checkpoints')
|
17 |
-
os.system('mv t2m checkpoints')
|
18 |
-
os.system('rm t2m.zip')
|
19 |
-
os.system('rm kit.zip')
|
20 |
sys.path.append('/home/user/app/VQ-Trans')
|
21 |
|
22 |
import options.option_transformer as option_trans
|
|
|
7 |
os.makedirs('output', exist_ok=True)
|
8 |
os.chdir('VQ-Trans')
|
9 |
os.umask(0)
|
10 |
+
# os.system('gdown --fuzzy https://drive.google.com/file/d/1chKRmW2vNX5Lz6dPO45WY1qVNUkoJJ5D/view')
|
11 |
+
# os.system('gdown --fuzzy https://drive.google.com/file/d/1cgUVeGwPU7PzTDx20CAijt18fNhtnOPq/view')
|
12 |
# os.system('gdown --fuzzy https://drive.google.com/file/d/1o7RTDQcToJjTm9_mNWTyzvZvjTWpZfug/view -O checkpoints/')
|
13 |
# os.system('gdown --fuzzy https://drive.google.com/file/d/1tX79xk0fflp07EZ660Xz1RAFE33iEyJR/view -O checkpoints/')
|
14 |
+
os.system('unzip checkpoints/t2m.zip')
|
15 |
+
os.system('unzip checkpoints/kit.zip')
|
|
|
|
|
|
|
|
|
16 |
sys.path.append('/home/user/app/VQ-Trans')
|
17 |
|
18 |
import options.option_transformer as option_trans
|