Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,6 @@ def find_most_similar_command(statement, command_list):
|
|
26 |
highest_similarity = 0
|
27 |
for index,file_list in command_list.items():
|
28 |
for key,value in file_list.items():
|
29 |
-
for command in value:
|
30 |
similarity = SequenceMatcher(None, statement, command).ratio()
|
31 |
print(i,"similarity",similarity)
|
32 |
if similarity > highest_similarity:
|
|
|
26 |
highest_similarity = 0
|
27 |
for index,file_list in command_list.items():
|
28 |
for key,value in file_list.items():
|
|
|
29 |
similarity = SequenceMatcher(None, statement, command).ratio()
|
30 |
print(i,"similarity",similarity)
|
31 |
if similarity > highest_similarity:
|