asigalov61 commited on
Commit
7485e9b
1 Parent(s): 24957f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ def render_midi(input_midi,
91
  output_score = copy.deepcopy(escore)
92
 
93
  elif render_type == "Extract melody":
94
- output_score = TMIDIX.extract_melody(cscore, melody_range=[48, 84])
95
 
96
  elif render_type == "Flip":
97
  output_score = TMIDIX.flip_enhanced_score_notes(escore)
 
91
  output_score = copy.deepcopy(escore)
92
 
93
  elif render_type == "Extract melody":
94
+ output_score = TMIDIX.add_melody_to_enhanced_score_notes(escore, return_melody=True)
95
 
96
  elif render_type == "Flip":
97
  output_score = TMIDIX.flip_enhanced_score_notes(escore)