Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
7727457
1
Parent(s):
dbe3ea6
Update app.py
Browse files
app.py
CHANGED
@@ -152,8 +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 |
-
plt.axes(title='Allegro Music Transformer Composition')
|
156 |
-
|
157 |
plt.scatter(x,y, c=c)
|
158 |
plt.xlabel("Time")
|
159 |
plt.ylabel("Pitch")
|
|
|
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 |
plt.scatter(x,y, c=c)
|
158 |
plt.xlabel("Time")
|
159 |
plt.ylabel("Pitch")
|