Update app.py
Browse files
app.py
CHANGED
|
@@ -134,7 +134,10 @@ def GenerateMusic():
|
|
| 134 |
print('Sample INTs', out1[:12])
|
| 135 |
print('=' * 70)
|
| 136 |
|
| 137 |
-
|
|
|
|
|
|
|
|
|
|
| 138 |
|
| 139 |
if len(out1) != 0:
|
| 140 |
|
|
|
|
| 134 |
print('Sample INTs', out1[:12])
|
| 135 |
print('=' * 70)
|
| 136 |
|
| 137 |
+
descr = ''.join(tokens2txt(out1)).split('. ')
|
| 138 |
+
descr1 = descr[0].title()+'.'+'\n\n'
|
| 139 |
+
descr2 = descr[1].title()
|
| 140 |
+
generated_song_description = str(pprint_to_string(str(descr1 + descr2)).replace("'", "")[2:-2])
|
| 141 |
|
| 142 |
if len(out1) != 0:
|
| 143 |
|