pachet commited on
Commit
f3c2125
·
1 Parent(s): 4e760ad

Add app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def convert_midi_to_audio(midi_path):
79
  def launch_score_editor(midi_path):
80
  try:
81
  score = converter.parse(midi_path)
82
- score.show()
83
  return "Opened MIDI file in the default score editor!"
84
  except Exception as e:
85
  return f"Error opening score editor: {str(e)}"
 
79
  def launch_score_editor(midi_path):
80
  try:
81
  score = converter.parse(midi_path)
82
+ score.show('musicxml')
83
  return "Opened MIDI file in the default score editor!"
84
  except Exception as e:
85
  return f"Error opening score editor: {str(e)}"