Update app.py
Browse files
app.py
CHANGED
|
@@ -290,11 +290,7 @@ def Inpaint_MIDI_Template(midi_template_idx,
|
|
| 290 |
cpitch = (max_acc_sample-2304) % 129
|
| 291 |
pat = (max_acc_sample-2304) // 129
|
| 292 |
|
| 293 |
-
|
| 294 |
-
out2.extend([((cpatch * 129) + cpitch)+2304])
|
| 295 |
-
|
| 296 |
-
else:
|
| 297 |
-
out2 = out2[:-2]
|
| 298 |
|
| 299 |
else:
|
| 300 |
out2.append(melody_chords[i])
|
|
|
|
| 290 |
cpitch = (max_acc_sample-2304) % 129
|
| 291 |
pat = (max_acc_sample-2304) // 129
|
| 292 |
|
| 293 |
+
out2.extend([((cpatch * 129) + cpitch)+2304])
|
|
|
|
|
|
|
|
|
|
|
|
|
| 294 |
|
| 295 |
else:
|
| 296 |
out2.append(melody_chords[i])
|