Spaces:
Build error
Build error
File size: 2,163 Bytes
e734794 d0787fa e734794 5e96b03 e734794 5e96b03 e734794 54dbbbf e734794 54dbbbf e734794 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
HEADER_INFO = """""".strip()
SIDEBAR_INFO = """
<div class="contributors font-body text-bold">
<a class="contributor comma" href="https://huggingface.co/Fa1dz">Liam H</a>
</div>
"""
CHEF_INFO = """
<h2 class="font-title">Welcome to our lovely restaurant! </h2>
<p class="strong font-body">
<span class="d-block extra-info">(We are at your service with two of the best chefs in the world: Chef Scheherazade,
Chef Giovanni. Scheherazade is known for being more creative whereas Giovanni is more meticulous.)</span>
</p>
""".strip()
PROMPT_BOX = "Add custom ingredients here (separated by `,`): "
STORY = """
<div class="story-box font-body">
<p>
Hello everyone 👋, I am <strong>Chef Transformer</strong>,
the owner of this restaurant. Both Giovanni and Scheherazade can produce exceptional dishes but I regard Scheherazade as being <em>creative</em> while Giovanni is <em>meticulous</em>.
If you give each of them the same ingredients, they'll usually come up with something different. <br /><br />
At the start of the program the chefs read cookbooks containing thousands of recipes of varying difficulties and from cultures all over the world.
I trained my chefs by asking them to generate a title, a list of ingredients (including amounts!), and a list of directions after giving them just a simple list of food items.
</p>
<pre>[Inputs]
{food items*: separated by comma}
[Targets]
title: {TITLE} <section>
ingredients: {INGREDIENTS: separated by <sep>} <section>
directions: {DIRECTIONS: separated by <sep>}.
</pre>
<p>
<em>In the cookbooks (a.k.a <a href="https://huggingface.co/datasets/recipe_nlg">dataset</a>), the food items were referred to as NER. </em>
</p>
<p>
In the span of a week, my chefs went from spitting out nonsense to creating masterpieces.
Their learning rate was exceptionally high and each batch of recipes was better than the last. <br />
In their final exam, they achieved high scores</a> 💯 in a
standardized industry test and established this restaurant 🍲. Please tell your friends and family about us!
We create each recipe with a smile on our faces 🤗.
</p>
</div>
""".strip() |