jsu27 commited on
Commit
400ac43
·
1 Parent(s): 90bc5e7

commented out

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -72,10 +72,10 @@ def gen_image_and_components(model, gd, im, num_components=4, sample_method='ddi
72
  return grid
73
 
74
 
75
- def decompose_image(im):
76
- sample_method = 'ddim'
77
- result = gen_image_and_components(clevr_model, GD[sample_method], im, sample_method=sample_method, num_images=1, device=device)
78
- return result.permute(1, 2, 0).numpy()
79
 
80
 
81
  # load diffusion
 
72
  return grid
73
 
74
 
75
+ # def decompose_image(im):
76
+ # sample_method = 'ddim'
77
+ # result = gen_image_and_components(clevr_model, GD[sample_method], im, sample_method=sample_method, num_images=1, device=device)
78
+ # return result.permute(1, 2, 0).numpy()
79
 
80
 
81
  # load diffusion