Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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}
|
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:
|