yangswei commited on
Commit
61e3a1b
1 Parent(s): bf99e5a

Update song-insight-app.py

Browse files
Files changed (1) hide show
  1. song-insight-app.py +3 -3
song-insight-app.py CHANGED
@@ -36,7 +36,7 @@ def song_insight(song, artist):
36
 
37
  {content}
38
 
39
- based on the the content above what does the song {song} by {artist} tell us about? give me a long explanations and
40
  do not bold any text.
41
 
42
  """
@@ -71,7 +71,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
71
  output_song_meaning = gr.Textbox(label="Meaning")
72
  output_song_recom = gr.Textbox(label="Song Recommendation")
73
  gr.Interface(fn=song_insight, inputs=[song, artist], outputs=[output_song_meaning, output_song_recom])
74
- example = gr.Examples([["They Don't Care About Us", 'Michael Jackson'], ["Bad Romance", 'Lady Gaga'],
75
- ["Let It Be", "The Beatles"], ["Life Goes On", 'BTS'], ["Blank Space", "Taylor Swift"]], [song, artist])
76
 
77
  demo.launch()
 
36
 
37
  {content}
38
 
39
+ based on the the content above what does the song {song} by {artist} tell us about? give me a clear explanations and
40
  do not bold any text.
41
 
42
  """
 
71
  output_song_meaning = gr.Textbox(label="Meaning")
72
  output_song_recom = gr.Textbox(label="Song Recommendation")
73
  gr.Interface(fn=song_insight, inputs=[song, artist], outputs=[output_song_meaning, output_song_recom])
74
+ example = gr.Examples([["They Don't Care About Us", 'Michael Jackson'],
75
+ ["Let It Be", "The Beatles"], ["Blank Space", "Taylor Swift"]], [song, artist])
76
 
77
  demo.launch()