asigalov61
commited on
Commit
•
db7e9d3
1
Parent(s):
bc03828
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,10 @@ def render_midi(input_midi, render_type, soundfont_bank, render_sample_rate, cus
|
|
75 |
print('=' * 70)
|
76 |
print('Processing...Please wait...')
|
77 |
|
78 |
-
if render_type ==
|
|
|
|
|
|
|
79 |
output_score = copy.deepcopy(escore)
|
80 |
|
81 |
elif render_type == "Extract melody":
|
|
|
75 |
print('=' * 70)
|
76 |
print('Processing...Please wait...')
|
77 |
|
78 |
+
if render_type == 'Render as-is':
|
79 |
+
output_score = copy.deepcopy(escore)
|
80 |
+
|
81 |
+
elif render_type == "Custom render" or not render_type:
|
82 |
output_score = copy.deepcopy(escore)
|
83 |
|
84 |
elif render_type == "Extract melody":
|