Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
|
@@ -279,7 +279,6 @@ class Model:
|
|
| 279 |
sample.permute(1, 2, 0).cpu().detach().numpy().clip(0, 255).astype(np.uint8))
|
| 280 |
for sample in samples
|
| 281 |
]
|
| 282 |
-
del image_tensor
|
| 283 |
del condition_img
|
| 284 |
torch.cuda.empty_cache()
|
| 285 |
return samples
|
|
|
|
| 279 |
sample.permute(1, 2, 0).cpu().detach().numpy().clip(0, 255).astype(np.uint8))
|
| 280 |
for sample in samples
|
| 281 |
]
|
|
|
|
| 282 |
del condition_img
|
| 283 |
torch.cuda.empty_cache()
|
| 284 |
return samples
|