awacke1 commited on
Commit
0afc5b2
·
verified ·
1 Parent(s): e086793

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -3,9 +3,6 @@
3
  # PIL's Image, Filter, Ops, and Chops,
4
  # transforms from torchvision, style never stops!
5
  ### 🖥️ New and Improved Application Code
6
-
7
-
8
- ## 🛠️ Correct Code
9
  import numpy as np
10
  import torch
11
  import torch.nn as nn
@@ -52,8 +49,6 @@ class ResidualBlock(nn.Module):
52
  self.conv_block = nn.Sequential(*conv_block)
53
  def forward(self, x): return x + self.conv_block(x)
54
 
55
-
56
- # It a Generator
57
  class Generator(nn.Module):
58
  def __init__(self, input_nc, output_nc, n_residual_blocks=9, sigmoid=True):
59
  super(Generator, self).__init__()
 
3
  # PIL's Image, Filter, Ops, and Chops,
4
  # transforms from torchvision, style never stops!
5
  ### 🖥️ New and Improved Application Code
 
 
 
6
  import numpy as np
7
  import torch
8
  import torch.nn as nn
 
49
  self.conv_block = nn.Sequential(*conv_block)
50
  def forward(self, x): return x + self.conv_block(x)
51
 
 
 
52
  class Generator(nn.Module):
53
  def __init__(self, input_nc, output_nc, n_residual_blocks=9, sigmoid=True):
54
  super(Generator, self).__init__()