Zaktualizuj 'dialogue_system.py'

fix
This commit is contained in:
Julian Zabłoński 2022-06-08 08:18:32 +02:00
parent 3e87606e84
commit a5bb41834a

View File

@ -128,8 +128,8 @@ def main():
print(nlg.update([['cinema','inform','closestscreening','']])) print(nlg.update([['cinema','inform','closestscreening','']]))
elif (('czy' or 'jakie' or 'które') and ('dostęp' or 'woln' or 'zajęt') and 'miejsc') in user_input_lr: elif (('czy' or 'jakie' or 'które') and ('dostęp' or 'woln' or 'zajęt') and 'miejsc') in user_input_lr:
dst.update([['inform', 'Cinema', 'task', 'show_seats']]) dst.update([['offer', 'Cinema', 'task', 'show_seats']])
print(nlg.update([['cinema','inform','seat','']])) print(nlg.update([['cinema','offer','seat','']]))
else: else:
print(formatted_prediction) # NLU output print(formatted_prediction) # NLU output