Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -98,9 +98,7 @@ def Generate_Melody(input_parsons_code,
|
|
98 |
|
99 |
print('Prepping Parsons code string...')
|
100 |
|
101 |
-
td_str = '
|
102 |
-
|
103 |
-
td_str = re.sub('[^*DRU]', '', td_str)
|
104 |
|
105 |
print(len(td_str))
|
106 |
print('=' * 70)
|
|
|
98 |
|
99 |
print('Prepping Parsons code string...')
|
100 |
|
101 |
+
td_str = re.sub('[^*DRU]', '', input_parsons_code)
|
|
|
|
|
102 |
|
103 |
print(len(td_str))
|
104 |
print('=' * 70)
|