diff --git a/finetune_dialogs_tool/main.py b/finetune_dialogs_tool/main.py index aa8059e..a8bfe9d 100644 --- a/finetune_dialogs_tool/main.py +++ b/finetune_dialogs_tool/main.py @@ -135,9 +135,6 @@ while True: not_ok = False now_pizzeria = True for line in dialog_input[python_end_idx:].splitlines(): - if line == "" or line.startswith("#"): - continue - if line.startswith("piz ="): if not now_pizzeria: print("Wrong order of pizzeria (piz) and customer (bot) messages.") diff --git a/finetune_dialogs_tool/templates/dialog_input.txt b/finetune_dialogs_tool/templates/dialog_input.txt index 368655f..c7bab01 100644 --- a/finetune_dialogs_tool/templates/dialog_input.txt +++ b/finetune_dialogs_tool/templates/dialog_input.txt @@ -18,6 +18,11 @@ order_items = [ # Write the conversation below. # 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. +''' + piz = -bot = \ No newline at end of file +bot = + + +''' \ No newline at end of file