Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
17 |
elif breed == 'Basset Hound':
|
18 |
-
return "1.
|
19 |
elif breed == 'Bernedoodles':
|
20 |
-
return "1. Opt for
|
21 |
elif breed == 'Bichon Frise':
|
22 |
-
return "1.
|
23 |
elif breed == 'Boston Terrier':
|
24 |
-
return "1.
|
25 |
elif breed == 'Boxer':
|
26 |
-
return "1.
|
27 |
elif breed == 'Boykin Spaniel':
|
28 |
-
return "1.
|
29 |
elif breed == 'Cairn Terrier':
|
30 |
-
return "1. Control
|
31 |
elif breed == 'Cane Corso':
|
32 |
-
return "1.
|
33 |
elif breed == 'Catahoula Leopards':
|
34 |
-
return "1.
|
35 |
elif breed == 'Chihuahua':
|
36 |
-
return "1.
|
37 |
elif breed == 'Corgi':
|
38 |
-
return "1.
|
39 |
elif breed == 'Dachshund':
|
40 |
-
return "1.
|
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':
|