osanseviero HF staff commited on
Commit
dc970fc
1 Parent(s): dc21b67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def process(text):
120
  note_sequence = token_sequence_to_note_sequence(generated_sequence)
121
  synth = note_seq.midi_synth.synthesize
122
  array_of_floats = synth(note_sequence, sample_rate=SAMPLE_RATE)
123
- note_plot = note_seq.plot_sequence(note_sequence, True)
124
  html = file_html(note_plot, CDN)
125
 
126
  with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp:
 
120
  note_sequence = token_sequence_to_note_sequence(generated_sequence)
121
  synth = note_seq.midi_synth.synthesize
122
  array_of_floats = synth(note_sequence, sample_rate=SAMPLE_RATE)
123
+ note_plot = note_seq.plot_sequence(note_sequence, False)
124
  html = file_html(note_plot, CDN)
125
 
126
  with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as fp: