asigalov61 commited on
Commit
95675e7
1 Parent(s): c58641e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -53,6 +53,8 @@ def GenerateMIDI(num_tok, idrums, iinstr, progress=gr.Progress()):
53
  out0 = out[0].tolist()
54
 
55
  outy.extend(out0)
 
 
56
 
57
  print('=' * 70)
58
  print('Done!')
@@ -149,7 +151,7 @@ def GenerateMIDI(num_tok, idrums, iinstr, progress=gr.Progress()):
149
  c.append(colors[s[3]])
150
 
151
  plt.figure(figsize=(14,5))
152
- ax=plt.axes(title='Allegro Music Transformer')
153
  ax.set_facecolor('black')
154
 
155
  plt.scatter(x,y, c=c)
 
53
  out0 = out[0].tolist()
54
 
55
  outy.extend(out0)
56
+
57
+ melody_chords_f = outy
58
 
59
  print('=' * 70)
60
  print('Done!')
 
151
  c.append(colors[s[3]])
152
 
153
  plt.figure(figsize=(14,5))
154
+ ax=plt.axes(title='Allegro Music Transformer Composition')
155
  ax.set_facecolor('black')
156
 
157
  plt.scatter(x,y, c=c)