Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ from huggingface_hub import HfFileSystem
|
|
| 7 |
from flax.serialization import msgpack_restore, from_state_dict
|
| 8 |
import time
|
| 9 |
from generator import Generator, LATENT_DIM
|
|
|
|
| 10 |
|
| 11 |
generator = Generator()
|
| 12 |
variables = generator.init(jax.random.PRNGKey(0), jnp.zeros([1, LATENT_DIM]), training=False)
|
|
|
|
| 7 |
from flax.serialization import msgpack_restore, from_state_dict
|
| 8 |
import time
|
| 9 |
from generator import Generator, LATENT_DIM
|
| 10 |
+
import math
|
| 11 |
|
| 12 |
generator = Generator()
|
| 13 |
variables = generator.init(jax.random.PRNGKey(0), jnp.zeros([1, LATENT_DIM]), training=False)
|