removing print debugging
This commit is contained in:
parent
4c581eaab8
commit
39d9a2ae72
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user