Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -184,6 +184,7 @@ with gr.Blocks() as demo:
|
|
184 |
except Exception as e:
|
185 |
continue
|
186 |
plt.plot([now, now+duration], [pitch, pitch], color='black')
|
|
|
187 |
now += wait
|
188 |
plt.savefig(f'./temp/{i}.svg')
|
189 |
return f'./temp/{i}.mid', f'./temp/{i}.svg'
|
|
|
184 |
except Exception as e:
|
185 |
continue
|
186 |
plt.plot([now, now+duration], [pitch, pitch], color='black')
|
187 |
+
plt.scatter(now, pitch, s=3, alpha=0.3, color='black')
|
188 |
now += wait
|
189 |
plt.savefig(f'./temp/{i}.svg')
|
190 |
return f'./temp/{i}.mid', f'./temp/{i}.svg'
|