Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
8f4e2db
1
Parent(s):
313bb52
utils.py
CHANGED
@@ -55,7 +55,7 @@ def sample_frame(model: LatentDiffusion, prompt: str, image_sequence: torch.Tens
|
|
55 |
print ('sleeping')
|
56 |
#time.sleep(120)
|
57 |
print ('finished sleeping')
|
58 |
-
DDPM =
|
59 |
if DDPM:
|
60 |
samples_ddim = model.p_sample_loop(cond=c, shape=[1, 4, 64, 64], return_intermediates=False, verbose=True)
|
61 |
else:
|
|
|
55 |
print ('sleeping')
|
56 |
#time.sleep(120)
|
57 |
print ('finished sleeping')
|
58 |
+
DDPM = True
|
59 |
if DDPM:
|
60 |
samples_ddim = model.p_sample_loop(cond=c, shape=[1, 4, 64, 64], return_intermediates=False, verbose=True)
|
61 |
else:
|