mrfakename commited on
Commit
f9283c8
1 Parent(s): d3a6851

Update musiclib.py

Browse files
Files changed (1) hide show
  1. musiclib.py +1 -1
musiclib.py CHANGED
@@ -62,7 +62,7 @@ def musicgen(ccc='<pad>', piano_only=False):
62
  else:
63
  occurrence[token] = 0.3 + (occurrence[token] if token in occurrence else 0)
64
 
65
- output += TOKEN_SEP + tokenizer.decode([token]))
66
  yield output
67
 
68
  output += (' <end>')
 
62
  else:
63
  occurrence[token] = 0.3 + (occurrence[token] if token in occurrence else 0)
64
 
65
+ output += TOKEN_SEP + tokenizer.decode([token])
66
  yield output
67
 
68
  output += (' <end>')