Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -69,9 +69,9 @@ def find_most_similar_command(statement, command_list):
|
|
69 |
best_match = command
|
70 |
if i<16:
|
71 |
reply=replies[1]
|
72 |
-
elif i>15
|
73 |
reply=replies[2]
|
74 |
-
elif i>30
|
75 |
reply=replies[3]
|
76 |
elif i>45:
|
77 |
reply=replies[4]
|
|
|
69 |
best_match = command
|
70 |
if i<16:
|
71 |
reply=replies[1]
|
72 |
+
elif i>15 and i<31:
|
73 |
reply=replies[2]
|
74 |
+
elif i>30 and i<46:
|
75 |
reply=replies[3]
|
76 |
elif i>45:
|
77 |
reply=replies[4]
|