Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -133,6 +133,7 @@ def run(model_name, tab, mid_seq, continuation_state, instruments, drum_kit, bpm
|
|
133 |
if seed_rand:
|
134 |
seed = np.random.randint(0, MAX_SEED)
|
135 |
generator = torch.Generator(opt.device).manual_seed(seed)
|
|
|
136 |
disable_patch_change = False
|
137 |
disable_channels = None
|
138 |
if tab == 0:
|
|
|
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:
|