tjl223 commited on
Commit
4de628b
1 Parent(s): 4e5a7c4

checking song new lines

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -66,7 +66,9 @@ song_lyrics = st.text_area("Song Lyrics")
66
 
67
  if st.button("Submit", key="genorator_submit"):
68
  score = lyric_evaluator_model.generate_artist_coherency_score(
69
- artist_name_for_evaluator, song_lyrics
70
  )
 
71
  print(f"Score: {score}")
72
  st.write(f"Score: {score}")
 
 
66
 
67
  if st.button("Submit", key="genorator_submit"):
68
  score = lyric_evaluator_model.generate_artist_coherency_score(
69
+ artist_name_for_evaluator, song_lyrics.replace("\n\n", "\n")
70
  )
71
+ print(song_lyrics)
72
  print(f"Score: {score}")
73
  st.write(f"Score: {score}")
74
+ print(song_lyrics.replace("\n\n", "\n"))