John6666 commited on
Commit
32b07f6
1 Parent(s): 2aaf90b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -132,8 +132,10 @@ def run(model_name, tab, mid_seq, continuation_state, instruments, drum_kit, bpm
132
  max_len = gen_events
133
  if seed_rand:
134
  seed = np.random.randint(0, MAX_SEED)
 
 
135
  generator = torch.Generator(opt.device).manual_seed(seed)
136
- print(f"Seed: {seed}, Generator: {generator}")
137
  disable_patch_change = False
138
  disable_channels = None
139
  if tab == 0:
 
132
  max_len = gen_events
133
  if seed_rand:
134
  seed = np.random.randint(0, MAX_SEED)
135
+ print(f"Random Seed: {seed}")
136
+ print(f"Numpy Randint: {np.random.randint(0, MAX_SEED)}")
137
  generator = torch.Generator(opt.device).manual_seed(seed)
138
+ print(f"Seed: {seed}")
139
  disable_patch_change = False
140
  disable_channels = None
141
  if tab == 0: