bhacquin commited on
Commit
2051d6c
·
verified ·
1 Parent(s): 1989e82

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +4 -1
demo.py CHANGED
@@ -125,7 +125,10 @@ def generate_new_experiment() -> Experiment:
125
  random_folder = random.randint(1, 3) # Adjusted to match folder numbering
126
 
127
  # Generate a two-digit sample number as a string
128
- random_int = random.randint(0, NUMBER_OF_EXPERIMENTS - 1)
 
 
 
129
  video_name = f"sample00_rep{random_int:02d}.mp4"
130
 
131
  # Paths to the three videos
 
125
  random_folder = random.randint(1, 3) # Adjusted to match folder numbering
126
 
127
  # Generate a two-digit sample number as a string
128
+ if random_folder > 1:
129
+ random_int = random.randint(0, NUMBER_OF_EXPERIMENTS - 1)
130
+ else:
131
+ random_int = random.randint(0, 10)
132
  video_name = f"sample00_rep{random_int:02d}.mp4"
133
 
134
  # Paths to the three videos