Spaces:
Running
on
Zero
Running
on
Zero
asigalov61
commited on
Commit
•
f7587a6
1
Parent(s):
e863cb3
Update app.py
Browse files
app.py
CHANGED
@@ -151,8 +151,8 @@ def GenerateMIDI(num_tok, idrums, iinstr, progress=gr.Progress()):
|
|
151 |
y.append(s[4])
|
152 |
c.append(colors[s[3]])
|
153 |
|
154 |
-
|
155 |
-
midi_plot =
|
156 |
midi_plot = ax.set_facecolor('black')
|
157 |
plt.scatter(x,y, c=c)
|
158 |
plt.xlabel("Time")
|
|
|
151 |
y.append(s[4])
|
152 |
c.append(colors[s[3]])
|
153 |
|
154 |
+
midi_plot = plt.figure(figsize=(14,5))
|
155 |
+
midi_plot = plt.axes(title='Allegro Music Transformer Composition')
|
156 |
midi_plot = ax.set_facecolor('black')
|
157 |
plt.scatter(x,y, c=c)
|
158 |
plt.xlabel("Time")
|