Merge branch 'master' of https://git.wmi.amu.edu.pl/s495726/chat-restaruacja
This commit is contained in:
commit
ac5dcdc06d
@ -70,7 +70,7 @@ class DialogStateMonitor:
|
|||||||
|
|
||||||
if stage['name'] == "collect_food":
|
if stage['name'] == "collect_food":
|
||||||
for order in self.state['belief_state']['order']:
|
for order in self.state['belief_state']['order']:
|
||||||
if order.get("pizza"):
|
if len(order) > 0:
|
||||||
stage['completed'] = True
|
stage['completed'] = True
|
||||||
return
|
return
|
||||||
elif stage["name"] == "collect_drinks":
|
elif stage["name"] == "collect_drinks":
|
||||||
|
Loading…
Reference in New Issue
Block a user