removing print debugging

This commit is contained in:
Yotam Mann 2017-02-06 14:03:04 -05:00
parent 4c581eaab8
commit 39d9a2ae72

View File

@ -37,7 +37,6 @@ def predict():
midi_data = pretty_midi.PrettyMIDI(StringIO(''.join(chr(v) for v in values))) midi_data = pretty_midi.PrettyMIDI(StringIO(''.join(chr(v) for v in values)))
duration = float(request.args.get('duration')) duration = float(request.args.get('duration'))
ret_midi = generate_midi(midi_data, duration) ret_midi = generate_midi(midi_data, duration)
print time.time() - now
return send_file(ret_midi, attachment_filename='return.mid', return send_file(ret_midi, attachment_filename='return.mid',
mimetype='audio/midi', as_attachment=True) mimetype='audio/midi', as_attachment=True)