brand-tune / brand_tune /prompting.py
vvolhejn's picture
Add instructions on how to duplicate/customize the Space
3b164c7
raw
history blame contribute delete
324 Bytes
from pathlib import Path
this_dir = Path(__file__).parent
with (this_dir.parent / "meta_prompt.txt").open() as f:
PROMPT_TEMPLATE = f.read()
with (this_dir.parent / "example_input.txt").open() as f:
EXAMPLE_INPUT = f.read()
with (this_dir.parent / "example_output.txt").open() as f:
EXAMPLE_OUTPUT = f.read()