Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,11 +13,11 @@ 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 "
|
17 |
elif breed == 'Basset Hound':
|
18 |
-
return "Basset Hounds are prone to obesity so select a dog food that
|
19 |
elif breed == 'Bernedoodles':
|
20 |
-
return "Look for commercially available dog foods that are labeled as complete and balanced to ensure they meet all the essential nutrients your Bernedoodle needs. Choose products with real meat listed as the first ingredient. Dog foods with a good source of animal-based protein, is crucial for a Bernedoodle’s active lifestyle. Look for foods with moderate levels of healthy fats, such as omega-3 and omega-6 fatty acids.
|
21 |
elif breed == 'Bichon Frise':
|
22 |
return "This breed is prone to allergies so, when choosing a dog food look for recipes with limited, wholesome ingredients and novel protein such as fish, venison, duck or rabbit. Bichons, like many small breeds, are prone to urolithiasis, stones in the urinary tract, so keeping your dog well-hydrated is important to help prevent and control it – make sure your dog has access to bowls of fresh water."
|
23 |
elif breed == 'Boston Terrier':
|
@@ -31,7 +31,7 @@ def food_endpoint(breed: str):
|
|
31 |
elif breed == 'Cane Corso':
|
32 |
return "Cane Corsos are high-energy dogs, however due to their size, they do not zoom around as much as other working breeds so can be prone to obesity. Choose a dog food that is formulated specifically for large breed dogs but practice portion control to ensure you do not overload them with excessive calories. Aim for a dog food that contains around 25-30% protein content, moderate fat content of around 10-15% and whole grains or vegetables as a carbohydrate source."
|
33 |
elif breed == 'Catahoula Leopards':
|
34 |
-
return "Catahoula Leopards benefit from foods made specifically for medium-large breeds with high protein levels for energy and added taurine and vitamin A to protect eye health and vision. A diet rich in high-quality animal protein sources such as chicken, beef, or fish, is vital so look for a dog food with named meat protein sources at the top of the ingredient list. As with many larger breeds, Catahoula Leopards are prone to skeletal issues such as hip dysplasia.
|
35 |
elif breed == 'Chihuahua':
|
36 |
return "Chihuahua puppies, adults and seniors each have different nutritional needs for optimal long-term health. Which means, A dog food designed for an adult chihuahua may contain too little calcium for a growing puppy or too many calories for a less active senior. And there are other significant differences like chihuahua puppy needs 1.0% arginine (an essential amino acid while an adult requires less, just 0.51% of the same nutrient. In comparison, A senior Chihuahua benefits from more protein and fewer calories. "
|
37 |
elif breed == 'Corgi':
|
|
|
13 |
can be found [here](https://huggingface.co/google/flan-t5-small).
|
14 |
"""
|
15 |
if breed == 'Australian Shepherd':
|
16 |
+
return "1. Active Aussies benefit from high-protein, high-fat formulas. 2. Opt for quality animal-based proteins. 3. Ensure moderate-to-high fat content. 4. Include nutritious carbs, grains, veggies, and fruits."
|
17 |
elif breed == 'Basset Hound':
|
18 |
+
return "Basset Hounds are prone to obesity so select a dog food that does not overload them with excessive calories. Basset Hounds are susceptible to joint problems, including hip dysplasia and arthritis, so the food you choose should contain ingredients like glucosamine and chondroitin. This dog breed may also be prone to digestive issues, including bloating and gas so choose a dog food that contains easily digestible ingredients, such as high-quality proteins and fibers."
|
19 |
elif breed == 'Bernedoodles':
|
20 |
+
return "Look for commercially available dog foods that are labeled as complete and balanced to ensure they meet all the essential nutrients your Bernedoodle needs. Choose products with real meat listed as the first ingredient. Dog foods with a good source of animal-based protein, is crucial for a Bernedoodle’s active lifestyle. Look for foods with moderate levels of healthy fats, such as omega-3 and omega-6 fatty acids."
|
21 |
elif breed == 'Bichon Frise':
|
22 |
return "This breed is prone to allergies so, when choosing a dog food look for recipes with limited, wholesome ingredients and novel protein such as fish, venison, duck or rabbit. Bichons, like many small breeds, are prone to urolithiasis, stones in the urinary tract, so keeping your dog well-hydrated is important to help prevent and control it – make sure your dog has access to bowls of fresh water."
|
23 |
elif breed == 'Boston Terrier':
|
|
|
31 |
elif breed == 'Cane Corso':
|
32 |
return "Cane Corsos are high-energy dogs, however due to their size, they do not zoom around as much as other working breeds so can be prone to obesity. Choose a dog food that is formulated specifically for large breed dogs but practice portion control to ensure you do not overload them with excessive calories. Aim for a dog food that contains around 25-30% protein content, moderate fat content of around 10-15% and whole grains or vegetables as a carbohydrate source."
|
33 |
elif breed == 'Catahoula Leopards':
|
34 |
+
return "Catahoula Leopards benefit from foods made specifically for medium-large breeds with high protein levels for energy and added taurine and vitamin A to protect eye health and vision. A diet rich in high-quality animal protein sources such as chicken, beef, or fish, is vital so look for a dog food with named meat protein sources at the top of the ingredient list. As with many larger breeds, Catahoula Leopards are prone to skeletal issues such as hip dysplasia. Choose a dog food that has appropriate and balanced levels of calcium and phosphorus."
|
35 |
elif breed == 'Chihuahua':
|
36 |
return "Chihuahua puppies, adults and seniors each have different nutritional needs for optimal long-term health. Which means, A dog food designed for an adult chihuahua may contain too little calcium for a growing puppy or too many calories for a less active senior. And there are other significant differences like chihuahua puppy needs 1.0% arginine (an essential amino acid while an adult requires less, just 0.51% of the same nutrient. In comparison, A senior Chihuahua benefits from more protein and fewer calories. "
|
37 |
elif breed == 'Corgi':
|