Hunzla commited on
Commit
642099c
1 Parent(s): a4fa720

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- else if i>15 && i<31:
73
  reply=replies[2]
74
- else if i>30 && i<46:
75
  reply=replies[3]
76
- else if i>45:
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]