Spaces:
Sleeping
Sleeping
Update song-insight-app.py
Browse files- 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
|
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'],
|
75 |
-
["Let It Be", "The Beatles"], ["
|
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()
|