Apply Jan's feedback
This commit is contained in:
@@ -22,9 +22,9 @@ print(f"[INFO] Found {len(sentences['hard'])} hard prompts")
|
||||
|
||||
""" Postprocess the content string to look nice in the latex tabular cell """
|
||||
def make_cell(content: str):
|
||||
return fr"""\vspace{{0.5cm}}
|
||||
\rule{{3cm}}{{0.15mm}} \, \vspace{{.3cm}} \newline \small {content}
|
||||
\vspace{{0.5cm}}"""
|
||||
#new, oben mehr space, Strich länger und \small removed
|
||||
return fr"""\vspace{{1cm}} \rule{{4.5cm}}{{0.15mm}} \, \vspace{{.3cm}} \newline {content} \vspace{{0.5cm}}"""
|
||||
|
||||
|
||||
def substitute_texts(text: str, substitutions: list[str]):
|
||||
return reduce( \
|
||||
@@ -50,5 +50,5 @@ def gen_board(num: int = 1):
|
||||
with open(output_dir + filename,"w") as f:
|
||||
f.writelines(pick)
|
||||
|
||||
gen_board(40)
|
||||
gen_board(8)
|
||||
print("Done!")
|
||||
|
||||
Reference in New Issue
Block a user