Spaces:
Build error
Build error
| 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() |