Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -13,31 +13,31 @@ def food_endpoint(breed: str):
13
  can be found [here](https://huggingface.co/google/flan-t5-small).
14
  """
15
  if breed == 'Australian Shepherd':
16
- return "1. Opt for active breed formula: If you have a highly active Australian Shepherd, choose dog food labeled for active or working breeds. These formulas are designed with higher protein, which supports lean muscle mass, and they contain more fat and calories to match your dog's energy needs. 2. Prioritize quality protein sources: Ensure that the protein in your dog's food comes from high-quality animal sources. This not only enhances digestibility but also provides the essential amino acids necessary for your Aussie's health and vitality. 3. Balance fat content: Look for moderate-to-high fat content in your dog's food, as this helps sustain your active Aussie's energy levels throughout the day. The extra calories from healthy fats can be especially beneficial for dogs with active lifestyles. 4. Include nutritious carbohydrates: Choose dog foods that incorporate nutritious and digestible carbohydrates such as whole grains, starchy vegetables, and fresh fruits. These ingredients can provide a well-rounded diet that supports your Australian Shepherd's overall health and endurance."
17
  elif breed == 'Basset Hound':
18
- return "1. Obesity prevention: Basset Hounds are prone to obesity, so opt for dog food designed to meet their energy needs without excess calories, helping maintain a healthy weight and prevent related health issues. 2. Joint health: Due to their susceptibility to joint problems like hip dysplasia and arthritis, select dog food with glucosamine and chondroitin to support joint health and mobility. 3. Digestive care: Basset Hounds can experience digestive issues, including bloating and gas. Choose dog food with easily digestible ingredients like high-quality proteins and fibers to promote a healthy and comfortable digestive system. 4. Tailored nutrition: Prioritize a balanced diet tailored to the specific needs of Basset Hounds, addressing their unique health concerns for a happy and healthy life."
19
  elif breed == 'Bernedoodles':
20
- return "1. Opt for complete and balanced dog foods: To meet your Bernedoodle's nutritional needs, select dog foods that are labeled as complete and balanced, guaranteeing they provide essential nutrients. Prioritize products with real meat as the first ingredient to offer the necessary animal-based protein for their active lifestyle. 2. Consider protein content: High-quality dog foods for Bernedoodles should contain a good source of animal-based protein to support their energetic nature and overall health. Look for this key ingredient to ensure your dog gets the protein they require. 3. Healthy fats are important: Ensure the dog food includes moderate levels of healthy fats, particularly omega-3 and omega-6 fatty acids. These fats are beneficial for your Bernedoodle's coat, skin, and overall well-being. 4. Choose by life stage: Tailor your choice based on your Bernedoodle's age - whether they are a puppy, adult, or senior. Select a formula that aligns with their life stage, as their nutritional requirements change as they grow and age."
21
  elif breed == 'Bichon Frise':
22
- return "1. Prioritize Limited Ingredient Diets: Opt for dog foods with minimal, wholesome ingredients and novel proteins like fish, venison, duck, or rabbit, especially for breeds like Bichons prone to allergies. 2. Prevent Urolithiasis: Bichons, like many small breeds, are susceptible to urolithiasis. Ensure your dog stays well-hydrated by providing access to bowls of fresh water to help prevent and control this condition. 3. Monitor for Allergies: Due to their predisposition, it's crucial to observe any signs of allergies in Bichons, such as skin irritation or digestive issues, and adjust their diet accordingly. 4. Consult with a Vet: Regular check-ups with a veterinarian can help in tailoring a specific diet plan that addresses your Bichon's individual needs and ensures they stay healthy and free from allergies or urinary tract issues."
23
  elif breed == 'Boston Terrier':
24
- return "1. Support joint health: Boston Terriers are susceptible to joint problems like patella luxation. Select a dog food enriched with ingredients like glucosamine and chondroitin to aid in maintaining their joint health and mobility. 2. Prioritize animal-based proteins: Opt for dog foods where high-quality animal-based proteins such as chicken, turkey, or fish are the main ingredients. These proteins supply vital amino acids crucial for muscle development and upkeep in Boston Terriers. 3. Be allergy-aware: Boston Terriers can have food sensitivities or allergies. To prevent adverse reactions, pay attention to potential allergens listed in their food's ingredients. 4. Maintain a balanced diet: Ensure a well-rounded diet for Boston Terriers that meets their specific nutritional needs, promoting overall health and well-being."
25
  elif breed == 'Boxer':
26
- return "1. Prioritize protein-rich diet: Boxers, being an active breed, benefit from dog foods with real meat (e.g., chicken, beef, or fish) as the primary ingredient. This ensures they receive the essential protein needed for their active lifestyle. 2. Avoid heavy reliance on plant-based proteins: It's important to steer clear of dog food products that predominantly use plant-based proteins, as Boxers require animal-based protein sources to thrive. 3. Watch for weight management: Given Boxers' susceptibility to weight gain, opt for a formula that supports a healthy weight, helping them maintain an ideal body condition and overall health. 4. Consider grain-free options carefully: While some Boxers may do well on grain-free diets, it's essential to be cautious as certain individuals can be susceptible to heart issues related to taurine deficiency in such diets. Monitor your Boxer's health and consult with a veterinarian for guidance on the best dietary choices."
27
  elif breed == 'Boykin Spaniel':
28
- return "1. Consider Boykin Spaniel's Activity Level: Boykin Spaniels are active dogs, so it's crucial to choose a dog food that aligns with their energy needs. This ensures they receive the right nutrition without excess calories, which can lead to weight issues. 2. Prioritize Balanced Nutrition: When selecting dog food for Boykin Spaniels, always prioritize a balanced blend of proteins, fats, carbohydrates, and essential nutrients like vitamins and minerals. This balance supports their overall health and well-being. 3. Look for Animal-Based Proteins: Opt for dog foods that have high-quality animal-based proteins as their primary ingredients, such as chicken, beef, or fish. These protein sources provide the necessary amino acids for muscle development and maintenance, which are especially important for active breeds like Boykin Spaniels. 4. Choose Quality Ingredients: Ensure that the dog food you choose contains wholesome and quality ingredients. Avoid foods with excessive fillers or artificial additives, as these may not provide the best nutrition for your Boykin Spaniel's active lifestyle."
29
  elif breed == 'Cairn Terrier':
30
- return "1. Control calorie intake: To prevent weight gain in your Cairn Terrier, select a dog food designed for moderately active dogs and pay attention to portion sizes. This helps maintain their ideal weight and overall health. 2. Prioritize omega-3 fatty acids: Opt for dog food containing sources like fish oil or flaxseed, as these nutrients promote a glossy coat, healthy skin, and contribute to your Cairn Terrier's overall well-being. 3. Ensure balanced nutrition: Choose a dog food that provides a complete and balanced diet to meet your Cairn Terrier's specific energy requirements, ensuring they get the essential nutrients they need. 4. Regular exercise: In addition to a balanced diet, engage your Cairn Terrier in regular physical activity to support their overall fitness and mental well-being, helping them lead a happy and healthy life."
31
  elif breed == 'Cane Corso':
32
- return "1. Consider Cane Corso Energy Levels: While Cane Corsos are high-energy, their larger size means they may not exhibit the same zooming behavior as smaller working breeds. This can lead to a higher risk of obesity, so select a dog food designed for large breeds and be mindful of portion sizes to avoid overloading them with calories.2. Protein Content Matters: Opt for a dog food with approximately 25-30% protein content. This ensures they receive the necessary nutrients to support their active lifestyle and maintain muscle health. 3. Balanced Fat Content: Look for a moderate fat content of about 10-15%. This provides essential energy without excessive calorie intake, helping to keep them at a healthy weight. 4. Choose Nutrient-Rich Carbohydrate Sources: Prioritize dog foods that incorporate whole grains or vegetables as carbohydrate sources. These provide valuable nutrients and fiber for overall well-being and digestion."
33
  elif breed == 'Catahoula Leopards':
34
- return "1. Opt for medium-large breed dog food: Choose dog food specifically formulated for Catahoula Leopards, focusing on high protein content to provide them with the energy they need. Additionally, prioritize options that include taurine and vitamin A to support their eye health and vision. 2. Emphasize quality animal protein: Look for dog food with named meat protein sources like chicken, beef, or fish listed at the top of the ingredient list. These proteins ensure your Catahoula Leopard receives essential nutrients for overall health and vitality. 3. Support bone health: Catahoula Leopards are prone to skeletal issues like hip dysplasia. Select a dog food with balanced calcium and phosphorus levels to promote healthy bone development. Also, consider recipes containing glucosamine and chondroitin to support joint health and mobility. 4. Prioritize balanced nutrition: Ensure your Catahoula Leopard's diet offers a well-rounded blend of essential nutrients to maintain their overall health and well-being."
35
  elif breed == 'Chihuahua':
36
- return "1. Tailor food to Chihuahua's life stage: Chihuahua puppies, adults, and seniors have distinct nutritional requirements for their long-term well-being. Using age-appropriate dog food is crucial to meet their specific needs. 2. Puppy nutrition: Chihuahua puppies require 1.0% arginine, an essential amino acid, to support their growth and development, which is significantly higher than the 0.51% needed by adult Chihuahuas. 3. Adult nutrition: Adult Chihuahuas thrive on dog food with 0.51% arginine and a balanced mix of protein and calories to maintain their energy and health. 4. Senior nutrition: Senior Chihuahuas benefit from dog food options with increased protein and fewer calories to support their aging bodies, ensuring their continued well-being."
37
  elif breed == 'Corgi':
38
- return "1. Prioritize real animal-based protein: Opt for dog food with real animal proteins as the primary ingredients for your Corgi. These protein sources support their overall health and vitality. 2. Consider kibble size: Select kibble that suits your Corgi's mouth size to facilitate proper chewing and digestion, ensuring they can comfortably consume their meals. 3. Manage calorie intake and portion sizes: Control the number of calories your Corgi consumes and be mindful of portion sizes to maintain a healthy weight and prevent overfeeding. 4. Include joint support and omega-3s: Choose food with added glucosamine and chondroitin to support joint health, and opt for options containing easily digestible ingredients and omega-3 fatty acids like fish oil or flaxseed to promote skin, coat, and overall well-being."
39
  elif breed == 'Dachshund':
40
- return "1. Tailor food to Dachshund's life stage: Select dog food that matches the age of your Dachshund, as puppies, adults, and seniors have distinct nutritional requirements. 2. Puppy nutrition: For growing Dachshund puppies, ensure a diet with 0.71% isoleucine and the appropriate balance of essential nutrients. 3. Adult nutrition: Adult Dachshunds need 0.38% isoleucine along with well-rounded protein and calorie levels to support their activity levels. 4. Senior nutrition: Enhance the health of senior Dachshunds with dog food containing 50% more protein than younger counterparts, tailored to their specific needs based on age. It's crucial to choose the right nutrient profile for your Dachshund's age."
41
  elif breed == 'Doberman Pinscher':
42
  return "1. Prioritize joint health: Due to Doberman Pinschers' susceptibility to hip dysplasia, select a dog food rich in ingredients like glucosamine and chondroitin to support their joint health and mobility. 2. Opt for digestible ingredients: Choose a dog food that emphasizes easily digestible components, including high-quality proteins and fibers, to aid in efficient digestion and reduce the risk of digestive issues. 3. Avoid excessive fillers and additives: Steer clear of foods with excessive fillers or artificial additives, as these can lead to digestive problems and may not provide the necessary nutrition for your Doberman. 4. Emphasize animal-based proteins: Look for dog food that features high-quality animal-based proteins like chicken, turkey, or fish as the primary ingredients to ensure your Doberman receives the protein and nutrients they require for their muscular physique and overall well-being."
43
  elif breed == 'French Bulldog':
 
13
  can be found [here](https://huggingface.co/google/flan-t5-small).
14
  """
15
  if breed == 'Australian Shepherd':
16
+ return "1. For active Australian Shepherds, opt for dog food labeled for active breeds with higher protein, fat, and calories. 2. Prioritize quality animal-based protein for digestibility and essential amino acids. 3. Ensure moderate-to-high fat content to sustain your active Aussie's energy. 4. Include nutritious carbs like whole grains, veggies, and fruits for overall health and endurance."
17
  elif breed == 'Basset Hound':
18
+ return "1. Prevent obesity: Opt for low-calorie dog food to maintain a healthy weight in Basset Hounds. 2. Support joints: Choose food with glucosamine and chondroitin for joint health. 3. Aid digestion: Pick easily digestible ingredients for a comfortable digestive system. 4. Tailor nutrition: Prioritize breed-specific diets for Basset Hounds' unique needs."
19
  elif breed == 'Bernedoodles':
20
+ return "1. Opt for dog food with real meat as the main ingredient to provide essential nutrients. 2. Prioritize high-quality dog food rich in animal protein to support your Bernedoodle's energetic nature. 3. Ensure the inclusion of healthy fats, particularly omega-3 and omega-6 fatty acids, for their coat and overall well-being. 4. Select a formula that suits your Bernedoodle's life stage as their nutritional needs change with age."
21
  elif breed == 'Bichon Frise':
22
+ return "1. Opt for limited ingredient dog food with novel proteins (fish, venison, duck, rabbit) for Bichons prone to allergies. 2. Ensure constant access to fresh water to prevent urolithiasis in your Bichon. 3. Be vigilant for allergy signs (skin irritation, digestive issues) and adjust their diet accordingly. 4. Regular vet check-ups help create a personalized diet plan to keep your Bichon healthy and allergy-free."
23
  elif breed == 'Boston Terrier':
24
+ return "1. Enhance joint health with glucosamine and chondroitin being included in the diet. 2. Opt for animal-based proteins like chicken, turkey, or fish for muscle strength. 3. Be mindful of potential allergies in Boston Terriers and adjust the diet according to that. 4. Ensure a well-rounded diet to promote their overall health and well-being. Avoid diet containing more proportion of fillers."
25
  elif breed == 'Boxer':
26
+ return "1. Opt for dog food rich in meat (like chicken, beef, or fish) to meet Boxers' protein requirements for their active lifestyle. 2. Steer clear of plant-based proteins as Boxers thrive on animal-derived protein sources. 3. Ensure your Boxer's weight is in check to prevent health issues; choose a formula that supports healthy weight management. 4. Approach grain-free options with care as some Boxers may be prone to taurine-related heart issues; consult a vet for dietary guidance."
27
  elif breed == 'Boykin Spaniel':
28
+ return "1. For active Boykin Spaniels, pick food matching energy needs to prevent weight issues. 2. Prioritize balanced nutrition with proteins, fats, carbs, vitamins, and minerals. 3. Opt for animal-based proteins (chicken, beef, fish) for muscle health. 4. Choose quality ingredients, avoid fillers and artificial additives."
29
  elif breed == 'Cairn Terrier':
30
+ return "1. Control calories: Choose proper food portions for your Cairn Terrier to maintain a healthy weight. 2. Omega-3 for coat: Feed fish oil or flaxseed for better skin and coat health. 3. Balanced diet: Ensure their food meets energy needs and provides essential nutrients. 4. Exercise: Keep them active for physical and mental well-being with ample amount of exercise."
31
  elif breed == 'Cane Corso':
32
+ return "1. Since Cane Corsos have High-energy, larger size, watch portion sizes to avoid obesity. 2. Protein: Include 25-30% of protein for muscle health and active lifestyle. 3. Fat: 10-15% should be included for obtaining energy without excess calories. 4. Carbohydrates: Opt for whole grains or veggies to acquire nutrients and for better digestion to be included in the diet."
33
  elif breed == 'Catahoula Leopards':
34
+ return "1. Pick medium-large breed dog food containing high protein for energy, taurine & vitamin A for eyes . 2. Choose quality animal proteins (chicken, beef, fish) for vitality and to fulfill protein requirement. 3. Bone health with balanced calcium/phosphorus and glucosamine/chondroitin. 4. Balanced nutrition for overall well-being of your pet should be considered."
35
  elif breed == 'Chihuahua':
36
+ return "1. Puppies, adults, and seniors have unique nutritional requirements for their long-term health. 2. Chihuahua puppies require 1.0% arginine to support their rapid growth and development. 3. Adult Chihuahuas thrive on dog food with 0.51% arginine and a well-balanced combination of protein and calories. 4. Senior Chihuahuas benefit from dog food options that offer increased protein content and fewer calories."
37
  elif breed == 'Corgi':
38
+ return "1. To ensure optimal health, make real animal-based proteins a dietary priority. 2. When selecting kibble, consider mouth size, ensuring it's comfortable for them to chew and digest their meals effectively. 3. Manage calorie intake and portion sizes to maintain their healthy weight and preventing overfeeding. 4. Enhance well-being by choosing dog food with added glucosamine and chondroitin for joint support."
39
  elif breed == 'Dachshund':
40
+ return "1. Match Dachshund's food to their life stage (puppy, adult, or senior) for optimal nutrition. 2. Growing Dachshund puppies require 0.71% isoleucine and balanced nutrients. 3. Adult Dachshunds need 0.38% isoleucine and appropriate protein and calories. 4. Senior Dachshunds benefit from 50% more protein tailored to their age-specific needs. Choose the right nutrients!"
41
  elif breed == 'Doberman Pinscher':
42
  return "1. Prioritize joint health: Due to Doberman Pinschers' susceptibility to hip dysplasia, select a dog food rich in ingredients like glucosamine and chondroitin to support their joint health and mobility. 2. Opt for digestible ingredients: Choose a dog food that emphasizes easily digestible components, including high-quality proteins and fibers, to aid in efficient digestion and reduce the risk of digestive issues. 3. Avoid excessive fillers and additives: Steer clear of foods with excessive fillers or artificial additives, as these can lead to digestive problems and may not provide the necessary nutrition for your Doberman. 4. Emphasize animal-based proteins: Look for dog food that features high-quality animal-based proteins like chicken, turkey, or fish as the primary ingredients to ensure your Doberman receives the protein and nutrients they require for their muscular physique and overall well-being."
43
  elif breed == 'French Bulldog':