Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -163,7 +163,7 @@ def sample_ddim(n_sample, n=20):
|
|
163 |
|
164 |
def greet(input):
|
165 |
samples, intermediate = sample_ddim(32, n=25)
|
166 |
-
response = transform2(transform(np.moveaxis(intermediate,2,4)[
|
167 |
return response
|
168 |
|
169 |
transform2 = transforms.ToPILImage()
|
|
|
163 |
|
164 |
def greet(input):
|
165 |
samples, intermediate = sample_ddim(32, n=25)
|
166 |
+
response = transform2(transform(np.moveaxis(intermediate,2,4)[23][1]))
|
167 |
return response
|
168 |
|
169 |
transform2 = transforms.ToPILImage()
|