pabberpe commited on
Commit
e3efb39
1 Parent(s): 8500fc9

Fix round typing bug

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ def load_images():
88
  fake_image_folder = "fake_images"
89
  real_images = [os.path.join(real_image_folder, img) for img in os.listdir(real_image_folder)]
90
  fake_images = [os.path.join(fake_image_folder, img) for img in os.listdir(fake_image_folder)]
91
- selected_images = random.sample(real_images, NUM_ROUNDS / 2) + random.sample(fake_images, NUM_ROUNDS / 2)
92
  random.shuffle(selected_images)
93
  return selected_images
94
 
 
88
  fake_image_folder = "fake_images"
89
  real_images = [os.path.join(real_image_folder, img) for img in os.listdir(real_image_folder)]
90
  fake_images = [os.path.join(fake_image_folder, img) for img in os.listdir(fake_image_folder)]
91
+ selected_images = random.sample(real_images, NUM_ROUNDS // 2) + random.sample(fake_images, NUM_ROUNDS // 2)
92
  random.shuffle(selected_images)
93
  return selected_images
94