asigalov61 commited on
Commit
281d949
1 Parent(s): d2ae74d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -60,6 +60,7 @@ def find_midi(search_string, search_options):
60
  print('Searching titles...Please wait...')
61
 
62
  search_match_data = TMIDIX.ascii_texts_search(search_data, search_string)
 
63
  search_match_text = search_match_data[0]
64
  search_match_ratio = search_match_data[1]
65
  search_match_index = search_data.index(search_match_text)
@@ -159,7 +160,7 @@ if __name__ == "__main__":
159
  " for all features"
160
  )
161
 
162
- search_string = gr.Textbox(label="Enter search prompt here", value="Nothing Else Matters")
163
  search_options = gr.CheckboxGroup(["Titles", "Lyrics", "Summaries"], value="Lyrics", label="Search within")
164
  submit = gr.Button()
165
 
 
60
  print('Searching titles...Please wait...')
61
 
62
  search_match_data = TMIDIX.ascii_texts_search(search_data, search_string)
63
+
64
  search_match_text = search_match_data[0]
65
  search_match_ratio = search_match_data[1]
66
  search_match_index = search_data.index(search_match_text)
 
160
  " for all features"
161
  )
162
 
163
+ search_string = gr.Textbox(label="Enter search prompt here", value="So close, no matter how far\nCouldn't be much more from the heart\nForever trusting who we are\nAnd nothing else matters")
164
  search_options = gr.CheckboxGroup(["Titles", "Lyrics", "Summaries"], value="Lyrics", label="Search within")
165
  submit = gr.Button()
166