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