asigalov61 commited on
Commit
03cc79b
1 Parent(s): d26b0ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -65,7 +65,7 @@ def find_midi(search_string, search_options):
65
  return_score_analysis=False,
66
  return_enhanced_score_notes=True)[0]
67
 
68
- print('Sample INTs', outy[1][:5])
69
  print('=' * 70)
70
 
71
  x = []
@@ -121,19 +121,19 @@ if __name__ == "__main__":
121
 
122
  app = gr.Blocks()
123
  with app:
124
- gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>MIDI Search</h1>")
125
- gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Search and explore 160k+ MIDI titles</h1>")
126
 
127
- gr.Markdown("![Visitors](https://api.visitorbadge.io/api/visitors?path=asigalov61.MIDI-Search&style=flat)\n\n"
128
- "Giant Music Transformer Aux Data Demo\n\n"
129
- "Please see [Giant Music Transformer](https://github.com/asigalov61/Giant-Music-Transformer) for more information and features\n\n"
130
  "[Open In Colab]"
131
- "(https://colab.research.google.com/github/asigalov61/Giant-Music-Transformer/blob/main/Giant_Music_Transformer_TTM.ipynb)"
132
  " for all features"
133
  )
134
 
135
  search_string = gr.Textbox(label="Enter search prompt here", value="And Nothing Else Matters")
136
- search_options = gr.CheckboxGroup(["Titles", "Lyrics", "Summaries"], label="Search within", info="Where to search?")
137
  submit = gr.Button()
138
 
139
  gr.Markdown("# Search results")
 
65
  return_score_analysis=False,
66
  return_enhanced_score_notes=True)[0]
67
 
68
+ print('Sample INTs', raw_score[1][:5])
69
  print('=' * 70)
70
 
71
  x = []
 
121
 
122
  app = gr.Blocks()
123
  with app:
124
+ gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Karaoke MIDI Search</h1>")
125
+ gr.Markdown("<h1 style='text-align: center; margin-bottom: 1rem'>Search and explore 5865 select Karaoke MIDI titles</h1>")
126
 
127
+ gr.Markdown("![Visitors](https://api.visitorbadge.io/api/visitors?path=asigalov61.Karaoke-MIDI-Search&style=flat)\n\n"
128
+ "Los Angeles MIDI Dataset Demo\n\n"
129
+ "Please see [Los Angeles MIDI Dataset](https://github.com/asigalov61/Los-Angeles-MIDI-Dataset) for more information and features\n\n"
130
  "[Open In Colab]"
131
+ "(https://colab.research.google.com/github/asigalov61/Los-Angeles-MIDI-Dataset/blob/main/Los_Angeles_MIDI_Dataset_Search_and_Explore.ipynb)"
132
  " for all features"
133
  )
134
 
135
  search_string = gr.Textbox(label="Enter search prompt here", value="And Nothing Else Matters")
136
+ search_options = gr.CheckboxGroup(["Titles", "Lyrics", "Summaries"], value="Lyrics", label="Search within", info="Where to search?")
137
  submit = gr.Button()
138
 
139
  gr.Markdown("# Search results")