Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -146,7 +146,7 @@ def generate(color,
|
|
146 |
grid = torchvision.utils.make_grid(x, nrow=4)
|
147 |
im = grid.permute(1, 2, 0).cpu().clip(-1, 1) * 0.5 + 0.5
|
148 |
im = Image.fromarray(np.array(im * 255).astype(np.uint8))
|
149 |
-
im.save("test.jpeg")
|
150 |
return im
|
151 |
|
152 |
|
|
|
146 |
grid = torchvision.utils.make_grid(x, nrow=4)
|
147 |
im = grid.permute(1, 2, 0).cpu().clip(-1, 1) * 0.5 + 0.5
|
148 |
im = Image.fromarray(np.array(im * 255).astype(np.uint8))
|
149 |
+
#im.save("test.jpeg")
|
150 |
return im
|
151 |
|
152 |
|