bryandts commited on
Commit
7436807
1 Parent(s): 1f9b513

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -57,6 +57,9 @@ embed_dim = 384
57
  embed_out_dim = 256
58
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
59
 
 
 
 
60
  # Path to your .pth file
61
  gen_weight = 'generator_20240421_3.pth'
62
 
 
57
  embed_out_dim = 256
58
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
59
 
60
+ generator = Generator(channels=3, embed_dim=embed_dim, noise_dim=noise_dim, embed_out_dim=embed_out_dim).to(device)
61
+
62
+
63
  # Path to your .pth file
64
  gen_weight = 'generator_20240421_3.pth'
65