asigalov61
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def GenerateMusic():
|
|
137 |
descr = ''.join(tokens2txt(out1)).split('. ')
|
138 |
descr1 = descr[0].capitalize()
|
139 |
descr2 = descr[1].capitalize()
|
140 |
-
generated_song_description = str(pprint_to_string(descr1) +'.\n\n' + pprint_to_string(descr2)).replace(" '", "")[1:-
|
141 |
|
142 |
if len(out1) != 0:
|
143 |
|
|
|
137 |
descr = ''.join(tokens2txt(out1)).split('. ')
|
138 |
descr1 = descr[0].capitalize()
|
139 |
descr2 = descr[1].capitalize()
|
140 |
+
generated_song_description = str(pprint_to_string(descr1).replace(" '", "").replace("'", "")[1:-2] +'.\n\n' + pprint_to_string(descr2).replace("'", "").replace(" '", "")[1:-2])
|
141 |
|
142 |
if len(out1) != 0:
|
143 |
|