hra commited on
Commit
f6920e0
1 Parent(s): 90c03ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -85,17 +85,17 @@ def getsongrecco(text_inp1,text_inp2):
85
  return(topic)
86
 
87
  with gr.Blocks() as demo:
88
- gr.Markdown("<h1><center>Song Recommendation</center></h1>")
89
  gr.Markdown(
90
- """ChatGPT like Insights.\nWhile ChatGPT has multiple use cases we have evolved specific use cases/ templates for businesses \n\n This template provides ideas on how a business can size a market they are entering. Enter a business area to size and get the results. Use examples as a guide. We use a equally powerful AI model bigscience/bloom."""
91
  )
92
  textbox1 = gr.Textbox(placeholder="Enter song name...", lines=1,label='Song')
93
- textbox2 = gr.Textbox(placeholder="Enter band name...", lines=1,label='Band')
94
  btn = gr.Button("Recommend")
95
- output1 = gr.Textbox(lines=2,label='Market Sizing Framework')
96
 
97
  btn.click(getsongrecco,inputs=[textbox1,textbox2], outputs=[output1])
98
- examples = gr.Examples(examples=[["It's My Life","Bon Jovi"],["Waka Waka",'Shakira']],
99
  inputs=[textbox1,textbox2])
100
 
101
 
 
85
  return(topic)
86
 
87
  with gr.Blocks() as demo:
88
+ gr.Markdown("<h1><center>Music Recommendation</center></h1>")
89
  gr.Markdown(
90
+ """Get Music Recommendations from Large Language Models. Enter a song, band/artist and get recommendations. Prompt Engineered AI model bigscience/bloom."""
91
  )
92
  textbox1 = gr.Textbox(placeholder="Enter song name...", lines=1,label='Song')
93
+ textbox2 = gr.Textbox(placeholder="Enter band/ artist name...", lines=1,label='Band/ Artist')
94
  btn = gr.Button("Recommend")
95
+ output1 = gr.Textbox(lines=2,label='Music Recommendations')
96
 
97
  btn.click(getsongrecco,inputs=[textbox1,textbox2], outputs=[output1])
98
+ examples = gr.Examples(examples=[["It's My Life","Bon Jovi"],["Wavin' Flag","K'naan"],['Dreamer','Ozzy Osbourne'],['Deutschland','Rammstein']],
99
  inputs=[textbox1,textbox2])
100
 
101