From eae2e57f3340bcea617cc3a8711f796ad3523a6c Mon Sep 17 00:00:00 2001 From: Dominic Zimmer Date: Mon, 6 Jul 2026 23:03:38 +0200 Subject: [PATCH] Allow comments --- bingo/generate_bingo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bingo/generate_bingo.py b/bingo/generate_bingo.py index 682f6d5..a5899b3 100644 --- a/bingo/generate_bingo.py +++ b/bingo/generate_bingo.py @@ -11,6 +11,7 @@ num_easy = num_total - num_hard sentences = {"easy": [], "hard": []} with open("prompts.txt") as f: raw_sentences = f.readlines() + raw_sentences = [ line for line in raw_sentences if line[0] != "#" ] stripped = "".join(raw_sentences).strip().split("\n") sentences["easy"] = [ line for line in stripped if "*" not in line ] sentences["hard"] = [ line.replace("*","") for line in stripped if "*" in line ]