Spaces:
Sleeping
Sleeping
Download validate/validate_ingredients.py from BhavaishKumar112/RecipeGenerator: direct link, hf CLI and curl.
- Browser
- Download file 80 Bytes
-
https://huggingface.co/spaces/BhavaishKumar112/RecipeGenerator/resolve/main/validate/validate_ingredients.py
- Command line
-
hf download hf://spaces/BhavaishKumar112/RecipeGenerator/validate/validate_ingredients.py
-
curl -L -o validate_ingredients.py https://huggingface.co/spaces/BhavaishKumar112/RecipeGenerator/resolve/main/validate/validate_ingredients.py
80 Bytes
| def validate_ingredients(ingredients_list): | |
| return len(ingredients_list) > 1 |