pn23 commited on
Commit
0b1b639
·
verified ·
1 Parent(s): ff6c2c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -51,6 +51,9 @@ def init_model(user_input):
51
  lyricInput = "Lyrics: " + lyrics + ". Based upon the following lyrics, please generate a title for this song. Desired Format: <title_case_without_genre>"
52
  response = model.generate_content(lyricInput)
53
 
 
 
 
54
  return genre
55
 
56
  #st_callback = StreamlitCallbackHandler(st.container())
@@ -70,6 +73,6 @@ if prompt := st.chat_input():
70
  #query = prompty(date_input, prompt)
71
  #result = qa({"query": query})
72
 
73
- st.write(genre)
74
  st.video('arvin_good.mp4')
75
  st.stop()
 
51
  lyricInput = "Lyrics: " + lyrics + ". Based upon the following lyrics, please generate a title for this song. Desired Format: <title_case_without_genre>"
52
  response = model.generate_content(lyricInput)
53
 
54
+ #Add code for list of frame
55
+ #call separate script for frame generation
56
+
57
  return genre
58
 
59
  #st_callback = StreamlitCallbackHandler(st.container())
 
73
  #query = prompty(date_input, prompt)
74
  #result = qa({"query": query})
75
 
76
+ st.write('Based on the interesting description you have provided, we will generate a ' + genre + ' music experience for you:')
77
  st.video('arvin_good.mp4')
78
  st.stop()