telecomadm1145 commited on
Commit
d7ba35e
·
verified ·
1 Parent(s): 6728aa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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,