WiNE-iNEFF commited on
Commit
3c08f8e
·
1 Parent(s): 99311fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def show_images_save(x):
32
  return grid_im
33
 
34
  def generate():
35
- x = torch.randn(1, 4, 64, 64).to(device)
36
  # Minimal sampling loop
37
  for i, t in tqdm(enumerate(scheduler.timesteps)):
38
  model_input = scheduler.scale_model_input(x, t)
 
32
  return grid_im
33
 
34
  def generate():
35
+ x = torch.randn(2, 4, 64, 64).to(device)
36
  # Minimal sampling loop
37
  for i, t in tqdm(enumerate(scheduler.timesteps)):
38
  model_input = scheduler.scale_model_input(x, t)