asigalov61 commited on
Commit
cc877f6
·
1 Parent(s): 823b615

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -152,9 +152,8 @@ def GenerateMIDI(num_tok, idrums, iinstr, progress=gr.Progress()):
152
  c.append(colors[s[3]])
153
 
154
  midi_plot = plt.figure(figsize=(14,5))
155
- ax=plt.axes(title='Allegro Music Transformer Composition')
156
- ax.set_facecolor('black')
157
-
158
  plt.scatter(x,y, c=c)
159
  plt.xlabel("Time")
160
  plt.ylabel("Pitch")
 
152
  c.append(colors[s[3]])
153
 
154
  midi_plot = plt.figure(figsize=(14,5))
155
+ plt.axes(title='Allegro Music Transformer Composition')
156
+ plt.set_facecolor('black')
 
157
  plt.scatter(x,y, c=c)
158
  plt.xlabel("Time")
159
  plt.ylabel("Pitch")