Spaces:
Runtime error
Runtime error
Commit
·
f1b5f5a
1
Parent(s):
8a73e0c
Update utils.py
Browse files
utils.py
CHANGED
@@ -41,7 +41,7 @@ def sample_frame(model: LatentDiffusion, prompt: str, image_sequence: torch.Tens
|
|
41 |
c = model.enc_concat_seq(c, c_dict, 'c_concat')
|
42 |
|
43 |
print ('sleeping')
|
44 |
-
time.sleep(120)
|
45 |
print ('finished sleeping')
|
46 |
samples_ddim = model.p_sample_loop(cond=c, shape=[1, 3, 64, 64], return_intermediates=False, verbose=True)
|
47 |
#samples_ddim, _ = sampler.sample(S=999,
|
|
|
41 |
c = model.enc_concat_seq(c, c_dict, 'c_concat')
|
42 |
|
43 |
print ('sleeping')
|
44 |
+
#time.sleep(120)
|
45 |
print ('finished sleeping')
|
46 |
samples_ddim = model.p_sample_loop(cond=c, shape=[1, 3, 64, 64], return_intermediates=False, verbose=True)
|
47 |
#samples_ddim, _ = sampler.sample(S=999,
|