Spaces:
Runtime error
Runtime error
commented out
Browse files
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 |
-
|
77 |
-
|
78 |
-
|
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
|