Cropinky commited on
Commit
f43cb7c
·
1 Parent(s): a1b1972
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -38,9 +38,12 @@ if st.button("Generate lyrics", help="Press me!"):
38
  if count == 0:
39
  st.write(line[line.find('['):])
40
  continue
41
- if"<EOS>" in line:
42
- break
43
  if "<BOS>" in line:
44
  st.write(line[5:])
45
  continue
 
 
 
 
 
46
  st.write(line)
 
38
  if count == 0:
39
  st.write(line[line.find('['):])
40
  continue
 
 
41
  if "<BOS>" in line:
42
  st.write(line[5:])
43
  continue
44
+ if line.startswith("["):
45
+ st.markdown(f"**{line}**")
46
+ continue
47
+ if"<EOS>" in line:
48
+ break
49
  st.write(line)