asigalov61 commited on
Commit
003cd1a
1 Parent(s): 9d71a06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -184,7 +184,7 @@ if __name__ == "__main__":
184
  opt = parser.parse_args()
185
 
186
  soundfont_path = "SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2"
187
- meta_data_path = "Giant_Music_Transformer_Aux_Data.pickle"
188
 
189
  print('Loading meta-data...')
190
  with open(meta_data_path, 'rb') as f:
@@ -204,8 +204,8 @@ if __name__ == "__main__":
204
  " for all features"
205
  )
206
 
207
- title = gr.Textbox(label="Desired Song Title", value="Family Guy")
208
- artist = gr.Textbox(label="Desired Song Artist", value="TV Themes")
209
  submit = gr.Button()
210
 
211
  gr.Markdown("# Search results")
 
184
  opt = parser.parse_args()
185
 
186
  soundfont_path = "SGM-v2.01-YamahaGrand-Guit-Bass-v2.7.sf2"
187
+ meta_data_path = "English_Karaoke_Files_Titles_Lyrics_Summaries_Scores_Final.pickle"
188
 
189
  print('Loading meta-data...')
190
  with open(meta_data_path, 'rb') as f:
 
204
  " for all features"
205
  )
206
 
207
+ search_string = gr.Textbox(label="Enter search prompt here", value="And Nothing Else Matters")
208
+ search_options = gr.CheckboxGroup(["Titles", "Lyrics", "Summaries"], label="Search within", info="Where to search?")
209
  submit = gr.Button()
210
 
211
  gr.Markdown("# Search results")