da03 commited on
Commit
5434768
·
1 Parent(s): 6134734
Files changed (1) hide show
  1. online_data_generation.py +2 -1
online_data_generation.py CHANGED
@@ -305,7 +305,8 @@ def process_session_file(log_file, clean_state):
305
 
306
  # Save each latent to the tar file
307
  latent = latents[0]
308
- key = str(image_num)
 
309
 
310
  # Convert latent to bytes
311
  latent_bytes = io.BytesIO()
 
305
 
306
  # Save each latent to the tar file
307
  latent = latents[0]
308
+ keys = [str(image_num)]
309
+ key = keys[0]
310
 
311
  # Convert latent to bytes
312
  latent_bytes = io.BytesIO()