Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -231,6 +231,8 @@ def generate_music(
|
|
| 231 |
else:
|
| 232 |
raw_output = output_seq
|
| 233 |
|
|
|
|
|
|
|
| 234 |
# save raw output and check sanity
|
| 235 |
ids = raw_output[0].cpu().numpy()
|
| 236 |
soa_idx = np.where(ids == mmtokenizer.soa)[0].tolist()
|
|
|
|
| 231 |
else:
|
| 232 |
raw_output = output_seq
|
| 233 |
|
| 234 |
+
generator()
|
| 235 |
+
|
| 236 |
# save raw output and check sanity
|
| 237 |
ids = raw_output[0].cpu().numpy()
|
| 238 |
soa_idx = np.where(ids == mmtokenizer.soa)[0].tolist()
|