Spaces:
Running
Running
asigalov61
commited on
Commit
•
2044878
1
Parent(s):
e946148
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def find_midi(search_string, search_options):
|
|
42 |
|
43 |
#==================================================
|
44 |
|
45 |
-
|
46 |
|
47 |
search_data = []
|
48 |
|
@@ -59,7 +59,7 @@ def find_midi(search_string, search_options):
|
|
59 |
|
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]
|
|
|
42 |
|
43 |
#==================================================
|
44 |
|
45 |
+
random.shuffle(AUX_DATA)
|
46 |
|
47 |
search_data = []
|
48 |
|
|
|
59 |
|
60 |
print('Searching titles...Please wait...')
|
61 |
|
62 |
+
search_match_data = TMIDIX.ascii_texts_search(search_data, search_string, deterministic_matching = True)
|
63 |
|
64 |
search_match_text = search_match_data[0]
|
65 |
search_match_ratio = search_match_data[1]
|