Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -617,6 +617,7 @@ class ImageRestorer:
|
|
| 617 |
arr = (tensor.permute(1, 2, 0).numpy() * 255).astype(np.uint8)
|
| 618 |
return Image.fromarray(arr)
|
| 619 |
@torch.no_grad()
|
|
|
|
| 620 |
def restore(
|
| 621 |
self,
|
| 622 |
image: Image.Image,
|
|
|
|
| 617 |
arr = (tensor.permute(1, 2, 0).numpy() * 255).astype(np.uint8)
|
| 618 |
return Image.fromarray(arr)
|
| 619 |
@torch.no_grad()
|
| 620 |
+
|
| 621 |
def restore(
|
| 622 |
self,
|
| 623 |
image: Image.Image,
|