PrakhAI commited on
Commit
a64727a
·
1 Parent(s): 01cf8cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ if 'generate' in st.session_state:
37
  latents = sample_latent(ROWS * COLUMNS, jax.random.PRNGKey(unique_id))
38
  previous = st.session_state['generate']
39
  if previous is not None:
40
- latents = np.repeat([previous], repeats=16, axis=0) + 0.01 * latents
41
  (g_out128, _, _, _, _, _) = generator.apply({'params': g_state['params'], 'batch_stats': g_state['batch_stats']}, latents, training=False)
42
  img = np.array(to_img(g_out128))
43
  for row in range(ROWS):
 
37
  latents = sample_latent(ROWS * COLUMNS, jax.random.PRNGKey(unique_id))
38
  previous = st.session_state['generate']
39
  if previous is not None:
40
+ latents = np.repeat([previous], repeats=16, axis=0) + 0.25 * latents
41
  (g_out128, _, _, _, _, _) = generator.apply({'params': g_state['params'], 'batch_stats': g_state['batch_stats']}, latents, training=False)
42
  img = np.array(to_img(g_out128))
43
  for row in range(ROWS):