Spaces:
Runtime error
Runtime error
Upload inference.py
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -364,7 +364,7 @@ def inference_patch(period, composer, instrumentation):
|
|
364 |
input_patches = torch.tensor([input_patches], device=device)
|
365 |
input_patches = input_patches.reshape(1, -1)
|
366 |
|
367 |
-
context_tunebody_byte_list = []
|
368 |
|
369 |
if not failure_flag:
|
370 |
abc_text = ''.join(byte_list)
|
|
|
364 |
input_patches = torch.tensor([input_patches], device=device)
|
365 |
input_patches = input_patches.reshape(1, -1)
|
366 |
|
367 |
+
context_tunebody_byte_list = list(''.join(context_tunebody_lines[-cut_index:]))
|
368 |
|
369 |
if not failure_flag:
|
370 |
abc_text = ''.join(byte_list)
|