Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
0fc4944
1
Parent(s):
d5720f2
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,8 @@ from moviepy.editor import *
|
|
11 |
device = torch.device('cpu')
|
12 |
vqvae = load_vqvae('kinetics_stride2x4x4', device=device).to(device)
|
13 |
|
14 |
-
resolution, sequence_length = vqvae.
|
|
|
15 |
|
16 |
def vgpt(invid):
|
17 |
try:
|
|
|
11 |
device = torch.device('cpu')
|
12 |
vqvae = load_vqvae('kinetics_stride2x4x4', device=device).to(device)
|
13 |
|
14 |
+
resolution, sequence_length = vqvae.args.resolution, 16
|
15 |
+
|
16 |
|
17 |
def vgpt(invid):
|
18 |
try:
|