PrakhAI commited on
Commit
f00cac8
·
1 Parent(s): 385bdd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -29,6 +29,7 @@ class Generator(nn.Module):
29
  x = nn.tanh(x)
30
 
31
  generator = Generator()
 
32
 
33
  fs = HfFileSystem()
34
  with fs.open("PrakhAI/DigitGAN/g_checkpoint.msgpack", "rb") as f:
 
29
  x = nn.tanh(x)
30
 
31
  generator = Generator()
32
+ params = generator.init(jax.random.PRNGKey(0), jnp.zeros([1, LATENT_DIM]), training=False)['params']
33
 
34
  fs = HfFileSystem()
35
  with fs.open("PrakhAI/DigitGAN/g_checkpoint.msgpack", "rb") as f: