Remove unnecessary code and update conversation
template in dialog_input.txt
This commit is contained in:
parent
e4a7a2b962
commit
98007ce374
@ -135,9 +135,6 @@ while True:
|
|||||||
not_ok = False
|
not_ok = False
|
||||||
now_pizzeria = True
|
now_pizzeria = True
|
||||||
for line in dialog_input[python_end_idx:].splitlines():
|
for line in dialog_input[python_end_idx:].splitlines():
|
||||||
if line == "" or line.startswith("#"):
|
|
||||||
continue
|
|
||||||
|
|
||||||
if line.startswith("piz ="):
|
if line.startswith("piz ="):
|
||||||
if not now_pizzeria:
|
if not now_pizzeria:
|
||||||
print("Wrong order of pizzeria (piz) and customer (bot) messages.")
|
print("Wrong order of pizzeria (piz) and customer (bot) messages.")
|
||||||
|
@ -18,6 +18,11 @@ order_items = [
|
|||||||
# Write the conversation below.
|
# Write the conversation below.
|
||||||
# The conversation has to start with "piz" (short for pizzeria) and has to end with "bot".
|
# The conversation has to start with "piz" (short for pizzeria) and has to end with "bot".
|
||||||
# Do not use double quotes (") in the conversation. Just type the text next to the = sign.
|
# Do not use double quotes (") in the conversation. Just type the text next to the = sign.
|
||||||
|
'''
|
||||||
|
|
||||||
|
|
||||||
piz =
|
piz =
|
||||||
bot =
|
bot =
|
||||||
|
|
||||||
|
|
||||||
|
'''
|
Loading…
Reference in New Issue
Block a user