Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -429,7 +429,7 @@ def match_tool_name(input):
|
|
| 429 |
Match the course to the closest match in the course list and return their codes.
|
| 430 |
"""
|
| 431 |
input = str(input)
|
| 432 |
-
matches = difflib.get_close_matches(input, all_tools(), n=1, cutoff=0.
|
| 433 |
return matches[0] if matches else None
|
| 434 |
|
| 435 |
def get_tool_location(name: str):
|
|
|
|
| 429 |
Match the course to the closest match in the course list and return their codes.
|
| 430 |
"""
|
| 431 |
input = str(input)
|
| 432 |
+
matches = difflib.get_close_matches(input, all_tools(), n=1, cutoff=0.4)
|
| 433 |
return matches[0] if matches else None
|
| 434 |
|
| 435 |
def get_tool_location(name: str):
|