asigalov61 commited on
Commit
64531d8
1 Parent(s): d277316

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -134,7 +134,10 @@ def GenerateMusic():
134
  print('Sample INTs', out1[:12])
135
  print('=' * 70)
136
 
137
- generated_song_description = pprint_to_string(''.join(tokens2txt(out1)))
 
 
 
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