mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-05 14:42:50 +08:00
Auto-format code 🧹🌟🤖
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import difflib
|
||||
|
||||
from xiaomusic.utils import (
|
||||
keyword_detection,
|
||||
find_best_match,
|
||||
keyword_detection,
|
||||
)
|
||||
|
||||
if __name__ == "__main__":
|
||||
@@ -24,10 +24,10 @@ if __name__ == "__main__":
|
||||
extra_search_index["2"] = s2
|
||||
extra_search_index["3"] = s3
|
||||
real_names = find_best_match(
|
||||
user_input,
|
||||
str_list,
|
||||
cutoff=0.4,
|
||||
n=100,
|
||||
extra_search_index=extra_search_index,
|
||||
)
|
||||
user_input,
|
||||
str_list,
|
||||
cutoff=0.4,
|
||||
n=100,
|
||||
extra_search_index=extra_search_index,
|
||||
)
|
||||
print(real_names)
|
||||
|
||||
Reference in New Issue
Block a user